Redirects in `trailingSlash` configuration do not recognize `X-Forwarded-Host` correctly
Open
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When the `trailingSlash` setting in `staticwebapp.config.json` is enabled, there is a problem that when Front Door and Static Web Apps are combined, the SWA URL is used instead of the Front Door URL when redirecting.
I set the URL of Front Door to allowedForwardedHosts to no effect.
https://learn.microsoft.com/en-us/azure/static-web-apps/front-door-manual#update-static-web-app-configuration
**Expected behavior**
The hostname of the Front Door is retained and redirected correctly even when redirected by the `trailingSlash` setting.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.