-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.0.0-beta.2] Astro.request.headers warning when building app #12069
Comments
seeing the same warning with v4.15.9 (but not with 4.15.8) |
@GiyoMoon please provide a valid reproduction, the repository you provided still relies on v4 |
Hello @GiyoMoon. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
@ematipico wait huh? The repo has |
Weird. Anyway, I could reproduce and I sent a PR to fix the issue :) |
awesome, thanks! |
Closed by #12070 |
this is when the following is set in security: {
checkOrigin: true,
}, should i open a new issue? |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When building the page with
pnpm build
, every page prints this warning about astro headers:The warning doesn't appear when using
5.0.0-beta.1
.What's the expected result?
It shouldn't print this warning as I'm not accessing the headers in my code.
Link to Minimal Reproducible Example
https://github.com/GiyoMoon/astro-header-warning-v5-beta-2
Participation
The text was updated successfully, but these errors were encountered: