Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #8 from thisislawatts/feat/adds-preset-src
Browse files Browse the repository at this point in the history
feat: adds support for prefetch-src
  • Loading branch information
frux authored Apr 28, 2018
2 parents eea70ce + 3350cda commit 195d635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare module 'csp-header' {
'manifest-src'?: string[];
'media-src'?: string[];
'object-src'?: string[];
'prefetch-src'?: string[];
'plugin-types'?: string[];
'referrer'?: [ string ];
'reflected-xss'?: boolean | string[];
Expand Down
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const allowedPolicies = [
'manifest-src',
'media-src',
'object-src',
'prefetch-src',
'plugin-types',
'referrer',
'reflected-xss',
Expand Down

0 comments on commit 195d635

Please sign in to comment.