-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Allowed Domains no longer working in dev #16042
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: devRelated to `astro dev` CLI command (scope)Related to `astro dev` CLI command (scope)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly impacts performance (priority)Violate documented behavior or significantly impacts performance (priority)feat: devRelated to `astro dev` CLI command (scope)Related to `astro dev` CLI command (scope)pkg: astroRelated to the core `astro` package (scope)Related to the core `astro` package (scope)
Type
Fields
Give feedbackNo fields configured for issues without a type.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
After upgrading to v6.x I noticed that API requests are no longer being allowed, returning
Cross-site POST form submissions are forbidden. I have Allowed Domains set up correctly and in development I run astro dev behind a traefik reverse proxy that handles TLS.What's the expected result?
I expect to have my domain listed in allowed domains with the
httpsprotocol and be allowed to make requests to it if it is behind a TLS terminating reverse proxyLink to Minimal Reproducible Example
https://github.com/ikadix/astro-allowed-domain-example
Participation