We have a few routes that are defined as edge routes (e.g. /schedule/) but are called from the api like /schedule. While this works locally, and on stage (old environment) it fails on production and produces a 307 temp redirect.
Once the IaC is updated in the repo I want to look at the cloudfront functions to see if I can sort this out.
I fixed the one instance where this would break the site, so it's not critical.
We have a few routes that are defined as edge routes (e.g.
/schedule/
) but are called from the api like/schedule
. While this works locally, and on stage (old environment) it fails on production and produces a 307 temp redirect.Once the IaC is updated in the repo I want to look at the cloudfront functions to see if I can sort this out.
I fixed the one instance where this would break the site, so it's not critical.
cc as a heads up: @jdbass