You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue seems to be caused by the incorrect generation of a route with rest parameters. It puts an extra slash in the src regex. Expected: "^/excluded(?:\\/(.*?))?$" Actual: "^/excluded/(?:\\/(.*?))?$"
Astro Info
Describe the Bug
According to the documentation, Vercel adapter allows to exclude specific paths from caching with ISR. This works correctly for static and dynamic routes with a parameter, but doesn't work with the routes that include rest parameters.
Example:
What's the expected result?
All routes added to the
isr.excluded
Vercel adapter config should be excluded from caching, including those with rest parameters.Link to Minimal Reproducible Example
https://github.com/hrabiel/astro-vercel-adapter-demo
Participation
The text was updated successfully, but these errors were encountered: