Skip to content
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

helmet noCache get warning #200

Open
Paul75 opened this issue May 15, 2020 · 0 comments
Open

helmet noCache get warning #200

Paul75 opened this issue May 15, 2020 · 0 comments

Comments

@Paul75
Copy link

Paul75 commented May 15, 2020

Hello,

I've got warnign that indicate :

helmet deprecated helmet.noCache is deprecated and will be removed in helmet@4. You can use the nocache module instead. For more, see https://github.com/helmetjs/helmet/issues/215. src\api\middlewares\SecurityNoCacheMiddleware.ts:8:33

In indication I add loader to add nocache package and usage : exressApp.use(nocache());

And after when execute api request it failed and console get already sent headers ...

Thanks for help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant