Skip to content

Commit

Permalink
Add a Content-Security-Policy so that android stops nagging us
Browse files Browse the repository at this point in the history
  • Loading branch information
shankari committed Feb 29, 2016
1 parent b3a2465 commit 9d67f69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
<meta http-equiv="Content-Security-Policy"
content="default-src 'self' data: gap: https://ssl.gstatic.com http://nominatim.openstreetmap.org 'unsafe-inline';
style-src 'self' 'unsafe-inline';
img-src 'self' http://*.tile.openstreetmap.org">
<title></title>

<link href="lib/ionic/css/ionic.css" rel="stylesheet">
Expand Down

0 comments on commit 9d67f69

Please sign in to comment.