Skip to content

Commit

Permalink
on second thought ... csp change is OBE
Browse files Browse the repository at this point in the history
  • Loading branch information
jdungan committed Feb 18, 2018
1 parent b77b69d commit 08d9755
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/csp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
function makeCspAppender (domain='') {
domain = `${domain} https://github.com`
const csp_names = ['CONTENT-SECURITY-POLICY','X-WEBKIT-CSP']
const name_finder = (name) => (csp_name) => csp_name === name.toUpperCase()
const if_csp = (name) => csp_names.find(name_finder(name)) ? true : false
Expand Down

0 comments on commit 08d9755

Please # to comment.