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
I had a problem with the example login loader in the readme. LoaderFunctionArgs does not have a response param. As a result I had to set response headers as follows after consulting remix docs at https://remix.run/docs/en/main/route/loader#returning-response-instances.
return json( options, { headers: { "Set-Cookie": await sessionStorage.commitSession(session), "Cache-Control": "no-store" } } )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I had a problem with the example login loader in the readme. LoaderFunctionArgs does not have a response param. As a result I had to set response headers as follows after consulting remix docs at https://remix.run/docs/en/main/route/loader#returning-response-instances.
The text was updated successfully, but these errors were encountered: