Duplicates
Latest version
Current behavior 😯
200
Expected behavior 🤔
404
Steps to reproduce 🕹
import { Title } from "@solidjs/meta";
import { HttpStatusCode } from "@solidjs/start";
export default function NotFound() {
return (
<>
<Title>Not Found</Title>
<HttpStatusCode code={404} />
<div>Not Found</div>
</>
);
}
go to http://localhost:8788/url-that-does-not-exist
you'll see 404 status code in wrangler pages dev but not in production
Context 🔦
this bug doesn't occur in cloudflare-worker preset, only cloudflare-pages
Your environment 🌎