score:1

before rendering the content to the dom, verify whether the file is read from the url.

please try the below code,

fetch("https://url/file").then((r)=>{r.text().then(d=>console.log(d))})

try steps mentioned in this question get text from a txt file in the url


Related Query

More Query from same tag