-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
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
Add support for res.cookie
#101
Comments
Sounds good! If you want to open a PR I'm happy to look at it, otherwise I should be able to get to it in a couple of weeks |
@ascorbic I am giving it a try right now. Steps that I have figured out that I could not find documented in
Currently the test command is filing with:
Do you have any pointer what the issue could be? |
if I install netlify cli globally it fails with the following error
|
Uninstalled a reinstalled netlify cli globally and it solved the above issue. |
Looking at the Gatsby docs, there is no mention of support for |
res.cookie works in gatsby (eg.
res.cookie("test", true, { httpOnly: false })
but does not work on netlifySteps to reproduce
create a function that set a cookie eg.
Expected behavior
runs and sets cookie locally.
on netlify the function is erroring with
Can you submit a pull request?
Yes
The text was updated successfully, but these errors were encountered: