feat: Enhance WebSocket integration and add SPA fallback for routing
This commit is contained in:
@@ -8,6 +8,10 @@ export const runCli = async () => {
|
||||
feedMetadata: null,
|
||||
domain: 'idp.global',
|
||||
serveDir: paths.distWebDir,
|
||||
addCustomRoutes: async (typedserver) => {
|
||||
// Enable SPA fallback - serves index.html for non-file routes (e.g., /login, /dashboard)
|
||||
typedserver.options.spaFallback = true;
|
||||
},
|
||||
});
|
||||
|
||||
// lets add the reception routes
|
||||
|
||||
Reference in New Issue
Block a user