Replies: 1 comment
-
how did you resolve it? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I have implemented the server maintaining all the required things following the https://nextjs.org/docs/app/building-your-application/configuring/custom-server and other resource available. My application is working fine in the localhost but getting problems when I deploy it on the shared hosting. all the routes mentioned in the config.matcher are showing not-found page instead of its page. I have tried using the hostname for the production for example: example.com, 120.320.245.43 (shared IP address), but it is not working. i have added the code in this repo https://github.com/robiulhr/next-middleware-custom-server-issue/
Additional information
and this is the middleware.js file
Beta Was this translation helpful? Give feedback.
All reactions