thunderbird / appointment

Invite others to grab times on your calendar. Choose a date. Make appointments as easy as it gets.
https://appointment.day
Mozilla Public License 2.0
202 stars 8 forks source link

Thunderbird Production treats some api routes as plain-text #390

Open MelissaAutumn opened 5 months ago

MelissaAutumn commented 5 months ago

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

MelissaAutumn commented 4 months ago

I've fixed the problem fetches on the frontend. But will still need to look into why its not resolving correctly.