Skip to content

Commit

Permalink
Fixing CSP for iOS9
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Dec 3, 2015
1 parent 3bf201b commit 73b6937
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/index.html
Expand Up @@ -12,12 +12,8 @@
* Enable inline JS: add 'unsafe-inline' to default-src
-->
<head>
<!--- Debug CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' * 'unsafe-inline'; img-src * data:; connect-src *; style-src 'self' 'unsafe-inline';">

<!--- Production CSP
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src * data:; connect-src *; style-src 'self' 'unsafe-inline';">
-->
<!--- CSP -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: script-src style-src 'self' 'unsafe-inline'; media-src *">

<link rel="stylesheet" type="text/css" href="css/app.css">
<title>Touchstonejs Demo</title>
Expand Down

0 comments on commit 73b6937

Please sign in to comment.