Skip to content

Documentation


Documentation / @blazetrails/actionpack / MAPPINGS

Variable: MAPPINGS ​

const MAPPINGS: { allow_duplicates: "'allow-duplicates'"; blob: "blob:"; data: "data:"; filesystem: "filesystem:"; http: "http:"; https: "https:"; mediastream: "mediastream:"; none: "'none'"; report_sample: "'report-sample'"; script: "'script'"; self: "'self'"; strict_dynamic: "'strict-dynamic'"; unsafe_eval: "'unsafe-eval'"; unsafe_hashes: "'unsafe-hashes'"; unsafe_inline: "'unsafe-inline'"; wasm_unsafe_eval: "'wasm-unsafe-eval'"; ws: "ws:"; wss: "wss:"; }

Defined in: packages/actionpack/lib/action-dispatch/http/content-security-policy.ts:10

Type Declaration ​

allow_duplicates ​

readonly allow_duplicates: "'allow-duplicates'" = "'allow-duplicates'"

blob ​

readonly blob: "blob:" = "blob:"

data ​

readonly data: "data:" = "data:"

filesystem ​

readonly filesystem: "filesystem:" = "filesystem:"

http ​

readonly http: "http:" = "http:"

https ​

readonly https: "https:" = "https:"

mediastream ​

readonly mediastream: "mediastream:" = "mediastream:"

none ​

readonly none: "'none'" = "'none'"

report_sample ​

readonly report_sample: "'report-sample'" = "'report-sample'"

script ​

readonly script: "'script'" = "'script'"

self ​

readonly self: "'self'" = "'self'"

strict_dynamic ​

readonly strict_dynamic: "'strict-dynamic'" = "'strict-dynamic'"

unsafe_eval ​

readonly unsafe_eval: "'unsafe-eval'" = "'unsafe-eval'"

unsafe_hashes ​

readonly unsafe_hashes: "'unsafe-hashes'" = "'unsafe-hashes'"

unsafe_inline ​

readonly unsafe_inline: "'unsafe-inline'" = "'unsafe-inline'"

wasm_unsafe_eval ​

readonly wasm_unsafe_eval: "'wasm-unsafe-eval'" = "'wasm-unsafe-eval'"

ws ​

readonly ws: "ws:" = "ws:"

wss ​

readonly wss: "wss:" = "wss:"