We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Setting http status code and header works locally as expected. However, when deployed on Cloudflare the response is 200, without the custom header.
https://developers.cloudflare.com/pages/framework-guides/deploy-a-solid-site/
// [...404].tsx import { HttpHeader, HttpStatusCode } from "@solidjs/start"; export default function NotFound() { return ( <main> <HttpStatusCode code={404} /> <HttpHeader name="x-custom-header" value="test" /> </main> ); }
Might be related to #1643
Receive the status 404 and custom header when visiting a 404 page.
Steps:
<HttpHeader />
Suffering from build assets 404 pages being cached.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Duplicates
Latest version
Current behavior 😯
Setting http status code and header works locally as expected. However, when deployed on Cloudflare the response is 200, without the custom header.
https://developers.cloudflare.com/pages/framework-guides/deploy-a-solid-site/
Might be related to #1643
Expected behavior 🤔
Receive the status 404 and custom header when visiting a 404 page.
Steps to reproduce 🕹
Steps:
https://developers.cloudflare.com/pages/framework-guides/deploy-a-solid-site/
<HttpHeader />
to the 404 pageContext 🔦
Suffering from build assets 404 pages being cached.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: