Good morning, I created a web project using the fazar-lazarus components. You can find the project here:
www.lazaruspascal.it/esempi/test_web_app.zipMy intent is to keep HTML files out of the executable.
In the past I had already tried to use the AdmLte template to a lazarus web project but without success, because once the html page was called, all the css, js files contained in the HTML file were not returned. Now with a little trick I can get all the files back from my embedded web server, but the result to the browser is not correct. Who tells me which detail escapes me?
The comments in the executable are in Italian, but the source is really simple, there are a few lines of code.
Then in unit1 in the DataModuleRequest (here you have to change the value of the url: = 'your_path/test_web_app' + url; with the path of your operating system) you will find the heart of my reasoning.
Thanks to anyone who wants to give me a hand