-
Notifications
You must be signed in to change notification settings - Fork 369
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
Support media-src #117
Comments
I made a sample app that uses app.use(helmet.csp({
directives: {
mediaSrc: ['media.example.com']
}
})) Are you using the latest version of |
Yes, I'm using the latest version of helmet - together with TypeScript. Due to TypeScript I'm also using helmet.d.ts and get this error message: |
This looks like a problem in DefinitelyTyped. Is it okay if I close the issue here because this is not a problem with Helmet? I'd like to submit a PR to DefinitelyTyped to improve their type definitions, but that isn't exactly part of Helmet. |
Yes, I also think it's a Problem of DefinitelyTyped. |
I'll close this issue. I'll take a look at DefinitelyTyped and see if I can make a PR. |
Made a PR (DefinitelyTyped/DefinitelyTyped#8820) for |
Both of my PRs were merged! @juergenzimmermann, hope this helps. |
@EvanHahn, thank you very much for your efforts. |
Please see http://www.html5rocks.com/en/tutorials/security/content-security-policy/
The text was updated successfully, but these errors were encountered: