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
The application has a route prefix and is homed at /src. I have the appropriate assetprefix and node handlers to cause next to properly recognize the prefix and properly render the page. Every thing seems to work (see below).
If I add the route prefix to the router push it does work but at first the next router gives a 404 and sends it to the server to render. Need for the router not to nullify the basename/ prefix of /src. How can I do that or is this a bug? Otherwise a back gives errors because the application is not homed at the server root but has a prefix.
The text was updated successfully, but these errors were encountered:
Instead it does not realize that there is a base route of /src, so the new url becomes: http://localhost:3000/?
viewSelect=districts&year=2017&type=Both&level=All&district=All&lang=english
In this case the applicable line that pushes the state is line 111 of the component "schoolsView.js". Is there not some way to say "the base route is not '/' but '/src/'"?
The application has a route prefix and is homed at /src. I have the appropriate assetprefix and node handlers to cause next to properly recognize the prefix and properly render the page. Every thing seems to work (see below).
The main issue is when I use router.push to update the parameters so that a back re-renders the page. I am using shallow true:
So starting with:
I push the parameter year but I get:
instead of
If I add the route prefix to the router push it does work but at first the next router gives a 404 and sends it to the server to render. Need for the router not to nullify the basename/ prefix of /src. How can I do that or is this a bug? Otherwise a back gives errors because the application is not homed at the server root but has a prefix.
The text was updated successfully, but these errors were encountered: