Logic Machine Forum
Hosting an Angular SPA as an app - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Application Store (https://forum.logicmachine.net/forumdisplay.php?fid=11)
+--- Thread: Hosting an Angular SPA as an app (/showthread.php?tid=4591)



Hosting an Angular SPA as an app - dnky76 - 20.02.2023

Hi All,

We are planning on deploying an app that has been built using the Angular framework. As this is an Single Page Application (SPA) if you deep-link into it the webserver needs to be configured to 'point' the request to index.html.  Here's a link to the angular docs explaining the issue:

https://angular.io/guide/deployment#routed-apps-must-fall-back-to-indexhtml

Is there any way that we can configure this behaviour on the Logic Machine, or mimic it somehow?

Many thanks


RE: Hosting an Angular SPA as an app - admin - 21.02.2023

For apps the default index page must be index.lp. html pages are not protected by the login system. Fallback to index.html is not possible without web server configuration change which apps should not perform.