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

SSG: Handling wildcards, path params, regexp routing #1966

Closed
yusukebe opened this issue Jan 13, 2024 · 1 comment
Closed

SSG: Handling wildcards, path params, regexp routing #1966

yusukebe opened this issue Jan 13, 2024 · 1 comment
Labels
enhancement New feature or request.

Comments

@yusukebe
Copy link
Member

What is the feature you are proposing?

If the following routing is used, an unexpected file will be generated.

app.get('/shops/:id', (c) => c.html(''))
app.get('/shops/:id/:comments{[0-9]+}', (c) => c.html(''))
app.get('/foo/*', (c) => c.html(''))
Screenshot 2024-01-13 at 22 51 22

If we don't specify the URL to access with a feature like ssgParams, we can ignore the generation of these files.

@yusukebe yusukebe added the enhancement New feature or request. label Jan 13, 2024
@yusukebe
Copy link
Member Author

Fixed by #1990

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Projects
None yet
Development

No branches or pull requests

1 participant