You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to enable single page rewrite (for SPA) for the local server when the app is running?
I am using React with React-Router (BrowserRouter).
If the app is launched from the base path ('/') it's fine, but if redirected to sub-route, for example from oauth callback_url to '/any-subroute' - 404 Not found.
One solution I have found is to switch from BrowserRouter to HashRouter but I don't want to use HashRouter cause there are other problems.
Simple Web Server has special option like Single page rewrite (for SPAs): Automatically rewrite all paths that don't exist to a single page. Is there something similar in Neutralino?
The text was updated successfully, but these errors were encountered:
How to enable single page rewrite (for SPA) for the local server when the app is running?
I am using React with React-Router (BrowserRouter).
If the app is launched from the base path ('/') it's fine, but if redirected to sub-route, for example from oauth callback_url to '/any-subroute' - 404 Not found.
One solution I have found is to switch from BrowserRouter to HashRouter but I don't want to use HashRouter cause there are other problems.
Simple Web Server has special option like
Single page rewrite (for SPAs): Automatically rewrite all paths that don't exist to a single page
. Is there something similar in Neutralino?The text was updated successfully, but these errors were encountered: