![]() |
App .lp and 400 bad request - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: App .lp and 400 bad request (/showthread.php?tid=5866) |
App .lp and 400 bad request - Fcs - 28.01.2025 Hello everyone, I created a website as a PWA application that I installed as FTP in apps/data/fcs - Everything works perfectly, but I have a few questions. if I make a link like for example : Code: <a href=“test.lp”>test</a> I get to the test.lp page, but if I go to the address bar, with same link, I get an error 400 bad request How can I resolve this? Subsidiary questions: is it possible to modify the ngynx configuration to manage the cache? Thanks you RE: App .lp and 400 bad request - admin - 29.01.2025 Direct link does not work because Referer/Origin headers are missing. For security reasons any requests to app .lp files apart from index.lp must originate from the app itself. What exactly do you want to change in the web server configuration? To prevent caching of updated files you should append app version string to all JS/CSS resource links. For development you can use os.time() as a version string. |