Comments (1)
Yeah, this one is tricky.
hsts
is the only Helmet module that works better with Express request objects, so luckily it's only for that middleware.
You could wrap hsts
and override the default setIf
option, but I don't love the idea of special cases.
Happy to change something in Helmet if needed.
from koa-helmet.
Related Issues (20)
- HSTS Not Set HOT 3
- Publish v1.1.0 to npm HOT 1
- ctx.state is undefined HOT 1
- res.setHeader is not a function HOT 2
- Upgrade helmet version to add support for `Feature-Policy`
- Update module with the addition of two new headers HOT 1
- Not specified Expect-CT module in README.md?
- How to use CSP with koa-helmet? HOT 4
- there is a security issue on helmet dependency HOT 1
- Missing Typescript type HOT 2
- Unknown directive ‘script-src-attr’ HOT 1
- TypeError when setting secure property HOT 1
- "helmet.contentSecurityPolicy.getDefaultDirectives()"doesn't work
- Could not find a declaration file for module 'helmet' HOT 1
- New TS types fail to import koa HOT 2
- CSP types need to be more flexible HOT 1
- useDefaults not present in type declarations HOT 1
- Upgrade helmet version to 5.x HOT 3
- Type Errors in node_modules/koa-helmet/node_modules/helmet/dist/types/index HOT 5
- Support for crossOrigin* headers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from koa-helmet.