Skip to content
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

Astro.request.headers is not available in "static" output mode. #12544

Open
1 task
hkbertoson opened this issue Nov 27, 2024 · 4 comments
Open
1 task

Astro.request.headers is not available in "static" output mode. #12544

hkbertoson opened this issue Nov 27, 2024 · 4 comments
Labels
needs repro Issue needs a reproduction

Comments

@hkbertoson
Copy link

Astro Info

Astro                    v4.16.16
Node                     v20.18.1
System                   macOS (arm64)
Package Manager          npm
Output                   hybrid
Adapter                  @astrojs/cloudflare
Integrations             @astrojs/solid-js
                         @sentry/astro
                         @astrojs/tailwind
                         astro-icon
                         @astrojs/alpinejs
                         @astrojs/sitemap
                         @astrojs/partytown
                         astro-turnstile
                         @playform/inline
                         @playform/compress

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

image

I can confirm im not using Headers anywhere

What's the expected result?

Not to get this warning

Link to Minimal Reproducible Example

https://stackblitz.com/see-above

Participation

  • I am willing to submit a pull request for this issue.
@github-actions github-actions bot added the needs triage Issue needs to be triaged label Nov 27, 2024
@ascorbic ascorbic added the needs repro Issue needs a reproduction label Nov 27, 2024
Copy link
Contributor

Hello @hkbertoson. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with needs repro will be closed if they have no activity within 3 days.

@github-actions github-actions bot removed the needs triage Issue needs to be triaged label Nov 27, 2024
@hkbertoson
Copy link
Author

@ascorbic I have a private repo I can add someone too. I tried to recreate it with Stackblitz but cant get the same warnings.

@ascorbic
Copy link
Contributor

We need a minimal reproduction, because it's very hard to isolate an issue if we're needing to build your whole site. If you can't reproduce it on Stackblitz it's fine to share a repo instead, but it needs to still be a minimal reproduction.

@hkbertoson
Copy link
Author

Im wondering if it could be one of my Integrations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs repro Issue needs a reproduction
Projects
None yet
Development

No branches or pull requests

2 participants