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

/pages/one/index.js works, but /pages/one/two/index.js does not #2392

Closed
tashburn opened this issue Jun 28, 2017 · 1 comment
Closed

/pages/one/index.js works, but /pages/one/two/index.js does not #2392

tashburn opened this issue Jun 28, 2017 · 1 comment

Comments

@tashburn
Copy link
Contributor

tashburn commented Jun 28, 2017

If I have /pages/one/index.js, the URL /one resolves to the index.js. Great.

But if I have /pages/one/two/index.js, the URL /one/two does not resolve to index.js. I get error: Cannot GET /one/two. The URL /one/two/index.js does not work either, as I'd expect.

I think nesting like this should work.

@timneutkens
Copy link
Member

Duplicate of #619

@lock lock bot locked as resolved and limited conversation to collaborators May 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants