am I using <HttpHeader/> correctly?
I setup a new SolidStart project with
pnpm create solid
and selected the basic
option.
I modified src/routes/index.tsx
to add <HttpHeader name="x-foo" value="bar"/>
like so:I then ran pnpm dev
but as soon as I visit localhost:3000
in the browser, Vinxi crashes with the message Error: Cannot remove headers after they are sent to the client
what am I doing wrong?0 Replies