how do I detect the full url of my web app? I’ve got several instances (with individual application identifiers) running in different folders doko1, doko2, …:
https://dokorona.de/cgi-bin/doko1/doko.cgi https://dokorona.de/cgi-bin/doko2/doko.cgi ...
I can get the host “dokorona.de”, but how do I get the rest of the url?
I need this information, because in my app the group of persons (actually card players) has to be in the same instance of the app to communicate (like in the example “Help Desk (Push Example)”). And every person of a group gets an individual link like
So when I compile the app, I have to use a constant like “doko1” to show informations about the individual links. If I could determine the full url, this would be much easier by handling it in code.