Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normalize page path before checking for cached manifest in webpack #69287

Open
wants to merge 2 commits into
base: canary
Choose a base branch
from

Conversation

AbhiShake1
Copy link
Contributor

What?

this should fix index route not loading due to the client reference manifest being generated in index/index/ but we were expecting it in index/

Why?

when we normalize the page path before writing manifest and other assets, we see this behavior:
/ -> /index
/index -> /index/index

How?

by normalizing the static page path, we now check for the manifest in index/index folder instead of index/ folder which fixes the issue

Closes NEXT-
Fixes #69061

@ijjk
Copy link
Member

ijjk commented Aug 26, 2024

Allow CI Workflow Run

  • approve CI run for commit: cb0904f

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot name a folder "index" inside the app directory.
2 participants