I have an app.yaml file with this handelrs configuration:
handlers:
# Serve all static files with url ending with a file extension
- url: /(.*\..+)$
static_files: build/\1
upload: build/(.*\..+)$
# Catch all handler to index.html
- url: /.*
static_files: build/index.html
upload: build/index.html
My issue is that when I have an email address in the url, It tries to get it as a static file, which causes an 404 error. For example - mydomain.com/john.doe@gmail.com This should be a regular route, not a static file. It's because of the dot in the emails. How can I configure the yaml differently to solve this?
Thanks in advance!