Webserver
Some websites are not suitable for offline operation. If the website has to load things like Javascript or CSS afterwards (lazy loading) there will be problems with the generate/load HTML file functions.
This is why the plugin offers a small web server since version 1.21. This means that these websites should also work without having to go online.
It is a static server that only returns files. You cannot execute PHP code or similar on it.
In the "Start Webserver" function you must enter the directory in which the website is located. Only relative directories are possible.
The directory can be located in the .pak file. Then add the event. The server always starts on the IP 127.0.0.1. The next free port is automatically selected, starting with 8080. So the event returns http://127.0.0.1:8080.
Then you have to insert the html file into the URL and load it with "Load URL”. Once the server has been started, you can also access it with your normal PC browser.
