-
Notifications
You must be signed in to change notification settings - Fork 107
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
Wildcard routes aren't supported properly in config #792
Comments
aaronpowell
added a commit
to aaronpowell/swa-emulator
that referenced
this issue
Jan 2, 2024
Any updates on this @cjk7989 ? |
@thomasgauvin I just ran into this again in a customer scenario with local integration and e2e tests, any roadmap on this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a
staticwebapp.config.json
with a route defined as follows:While this is how you should match a path per the docs, the CLI doesn't correctly generate the regex required to do the wildcard matching, it generates
/^\/manage*$/
not/^\/manage.*$/
(not the missing.
to indicate the any character after match). There also isn't a test case to cover this in theglob.spec.ts
tests.You can see the failure to find it appropriately looking at the output in the
silly
logging (it's about a dozen lines down):The text was updated successfully, but these errors were encountered: