Skip to content

***[Urgent] Help Needed: Next.js 15 Parallel Routes with Dynamic Params Failing on Live Site #74666

Answered by icyJoseph
smo043 asked this question in Help
Discussion options

You must be logged in to vote

Just one more question, you show:

  • ab.com/next/static/chunks/app/lookup/%40modal/(.)updateConfig/%5BbusinessEntityId%5D/page-3ee..

Is it ab.com/_next/...rest?

Assuming _next prefix, piecing together the information I have from you and the other threads:

/** @type {import("next").NextConfig} */
const config = {
  output: "standalone",
  rewrites: async () => ({
    beforeFiles: [
      {
        source: "/_next/static/chunks/app/:folder*/@modal/:path*",
        destination: "/_next/static/chunks/app/:folder*/%40modal/:path*",
      },
    ],
  }),
};

Something like that, could you give it a go?

Replies: 2 comments 16 replies

Comment options

You must be logged in to vote
1 reply
@smo043
Comment options

Comment options

You must be logged in to vote
15 replies
@icyJoseph
Comment options

@icyJoseph
Comment options

@smo043
Comment options

@icyJoseph
Comment options

Answer selected by smo043
@smo043
Comment options

@icyJoseph
Comment options

@smo043
Comment options

@smo043
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants