JayP33
New Member
I've been writing html pages for custom overlays that fetches the contents from local text files using JS fetch in a local file html.
This was working fine until the latest version where the OBS Browser has been updated and now blocks these fetches.
I've tried passing through command line arguments to allow the local file access, but nothing is working. This worked fine up until the latest OBS Browser Release.
Is this something that can be remedied in a future patch, or do I have to start running a local webserver now?
JavaScript:
async function interval() {
let var = await fetch('../TextFile.txt');
var = await var.text();
}
Code:
Fetch API cannot load file:///C:/FilePath/TextFile.txt. URL scheme "file" is not supported.
Uncaught (in promise) TypeError: Failed to fetch (source: file:///C:/FilePath/HtmlFile.html:17)
I've tried passing through command line arguments to allow the local file access, but nothing is working. This worked fine up until the latest OBS Browser Release.
Is this something that can be remedied in a future patch, or do I have to start running a local webserver now?