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
Because in ExpressJS the ORDER of specified routes MATTERS we need to take the line from step 2 and put it below any other routes (So as not to silence them, expressjs will take first matching route and use it).
...
app.use ('/api', apiRoutes);
app.use ('/*', express.static ('./server/static/')); // Paste this line after the one above
And finally change paths for resources in index.html.
After login, if reload page Dashboard on enter manually http://localhost:3000/dashboard the page does not work.
The text was updated successfully, but these errors were encountered: