Custom server url masking
Unanswered
Northeast Congo Lion posted this in #help-forum
Northeast Congo LionOP
Hi everyone , I’m using a custom server with Express, and the route details are dynamically fetched from Contentful based on the URL entered in the browser. Because of this setup, the entire website is server-side rendered.
Previously, I was able to mask the URL by passing the pathname to the
Is there a recommended way to achieve similar URL masking behaviour with the latest version of Next.js?
Previously, I was able to mask the URL by passing the pathname to the
app.render(req, res, pathname, query)
method. However, this no longer works as expected in Next.js v13.5 and above.Is there a recommended way to achieve similar URL masking behaviour with the latest version of Next.js?