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
First of all thanks for this useful example repo, it was exactly what I was looking for without a lot of complex nginx rules etc!
I implemented this in my project and it is working nicely, however every next/link is causing a page refresh now when navigating between pages (on both servers admin & member).
(This is probably a duplicate of #2)
If I use the simplest example from the next/link docs:
Every link click results in a page refresh with this error in my console:
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (about.js, line 0)
[Log] Error: Failed to load script: /_next/static/chunks/pages/about.js
I think it's looking for a route one level up in the root of the pages folder?
When I log the request in server.js I see the following:
I haven't found a way to get rid of the /admin/ part in the next routing...
When you directly navigate to an url without the /admin/ part it will load correctly, but when you want to navigate to another page within the admin routing, you need the /admin/ part.
Hi there,
First of all thanks for this useful example repo, it was exactly what I was looking for without a lot of complex nginx rules etc!
I implemented this in my project and it is working nicely, however every next/link is causing a page refresh now when navigating between pages (on both servers admin & member).
(This is probably a duplicate of #2)
If I use the simplest example from the next/link docs:
And add a dynamic
[slug].js
route in the member folder:Every link click results in a page refresh with this error in my console:
I think it's looking for a route one level up in the root of the pages folder?
When I log the request in server.js I see the following:
However when I add a catch-all route there, it will use that one instead?
Any thoughts on this?
Thanks!
The text was updated successfully, but these errors were encountered: