Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
Add crossorigin=anonymous to push headers; remove crossorigin attribu…
Browse files Browse the repository at this point in the history
…te from index.html
  • Loading branch information
keanulee committed Dec 6, 2018
1 parent fb2f294 commit e7bded2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
<!-- Built with love using PWA Starter Kit -->
<script type="module" src="src/components/my-app.js" crossorigin></script>
<script type="module" src="src/components/my-app.js"></script>
</body>
</html>
8 changes: 8 additions & 0 deletions push-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"/": {
"src/components/my-app.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
"src/components/my-view1.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
Expand All @@ -15,10 +17,12 @@
},
"/view1": {
"src/components/my-app.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
"src/components/my-view1.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
Expand All @@ -29,10 +33,12 @@
},
"/view2": {
"src/components/my-app.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
"src/components/my-view2.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
Expand All @@ -43,10 +49,12 @@
},
"/view3": {
"src/components/my-app.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
"src/components/my-view3.js": {
"crossorigin": "anonymous",
"type": "script",
"weight": 1
},
Expand Down

0 comments on commit e7bded2

Please sign in to comment.