SolidJSS
SolidJSโ€ข3y agoโ€ข
2 replies
Samual ๐Ÿฆข

HttpStatusCode not working

is it just me or <HttpStatusCode/> not working?
here's the code I'm trying for the route
import { HttpStatusCode } from "@solidjs/start"

export default () => <>
    <HttpStatusCode code={404}/>
    <h1>404</h1>
</>

it seems to just have no effect, I still get 200 in the browser
Was this page helpful?