-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
cookies(req, res, [options]) #43
Labels
Comments
Makes sense. |
going to change this to: var cookies = new Cookies([options])
app.use(function (req, res, next) {
req.cookies = res.cookies = cookies(req, res)
next()
}) |
This still isn't implement eh? |
a code review would be nice |
I just checked the source code and it should be like :
|
dougwilson
added a commit
that referenced
this issue
Feb 29, 2016
dougwilson
added a commit
that referenced
this issue
Feb 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i think setting the options every time you
.get()
or.set()
the cookies is pretty annoying. we should able to use default options passed to the constructor.The text was updated successfully, but these errors were encountered: