mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #28444 from ffflorian/fix/helmet
fix: Add loose option for helmet-csp
This commit is contained in:
@@ -58,6 +58,7 @@ function contentSecurityPolicyTest() {
|
||||
directives: {
|
||||
defaultSrc: ["'self'"]
|
||||
},
|
||||
loose: false,
|
||||
setAllHeaders: true
|
||||
}));
|
||||
}
|
||||
|
||||
Vendored
+1
@@ -60,6 +60,7 @@ declare namespace helmet {
|
||||
disableAndroid?: boolean;
|
||||
browserSniff?: boolean;
|
||||
directives?: IHelmetContentSecurityPolicyDirectives;
|
||||
loose?: boolean;
|
||||
}
|
||||
|
||||
export interface IHelmetDnsPrefetchControlConfiguration {
|
||||
|
||||
Reference in New Issue
Block a user