![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | kitfox |
I’m writing a Godot app that will be served from a client’s web server. The client would like to have a configuration file that they can edit in a text editor and place on the server where the Godot app can load it. How can my app find this file? Is there a way for a web app to determine the URL that served it? (I tried JavaScript.eval("window.location.href")
, but it’s returning the empty string). Is there a way to load files from the deploy directory directly?