Skip to content

Commit

Permalink
Some constants are not exported from express-csp-header
Browse files Browse the repository at this point in the history
  • Loading branch information
frux committed Aug 19, 2023
1 parent 0419138 commit 8aa4ded
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions packages/express-csp-header/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,29 +1,4 @@
export {
NONE,
SELF,
INLINE,
HASHES,
EVAL,
DATA,
BLOB,
STRICT_DYNAMIC,
NO_REFERER,
NONE_WHEN_DOWNGRADE,
ORIGIN,
ORIGIN_WHEN_CROSS_ORIGIN,
UNSAFE_URL,
ALLOW_FORMS,
ALLOW_MODALS,
ALLOW_ORIENTATION_LOCK,
ALLOW_POINTER_LOCK,
ALLOW_POPUPS,
ALLOW_POPUPS_TO_ESCAPE_SANDBOX,
ALLOW_POPUPS_TO_ESACPE_SANDBOX,
ALLOW_PRESENTATION,
ALLOW_SAME_ORIGIN,
ALLOW_SCRIPTS,
ALLOW_TOP_NAVIGATION
} from 'csp-header';
export * from 'csp-header';

export const NONCE = '%nonce%';
export const TLD = '%tld%';

0 comments on commit 8aa4ded

Please sign in to comment.