Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

secureProxy is deprecated in cookies #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robsquires
Copy link

The secureProxy option has been deprecated by the cookie module when it is passed as a cookie option during cookies.set(). The module recommends passing the secureProxy option in the constructor instead.

pillarjs/cookies@c7cf922

This PR implements that recommendation.

pass  option through via constructor
@kelsin
Copy link

kelsin commented Apr 5, 2018

Any word on getting this merged in?

@DarylPinto
Copy link

@vladikoff Please consider merging this PR. Without it production node apps that run behind a proxy like nginx (which is most of them), cannot make use of the secure flag. I know this library isn't being maintained anymore, but please consider merging in PRs that prevent deprecation.

DarylPinto added a commit to DarylPinto/sticker-surge that referenced this pull request May 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants