Access files in the directory of the HTML file after exporting to HTML
So, I'm trying to export a project of mine to Html5. But I encounter the following problem:
In the program I do have a text file, which is used for some configuration, while the program is running. This file needs to stay editable even after compiling resulting that the code needs to access this file.
Now, when compiling as a Windows or Mac application this file can be accessed without any problems but when exporting the project to Html5, it can't access the file.
I tried to solve this issue using HTTPRequest. But as far as I seen, I only can use absolute URLs and not relative URLs to access the file.
Is there a way to use an relative URL path?
I hope my problem was clear enough to understand. If you have any further question I'll answer them as soon as possible.
Thank you in advance.