Skip to content

Commit

Permalink
try fix coi-serviceworker on cairo page
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoVan committed Apr 23, 2023
1 parent 58147b5 commit 8375961
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 134 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gh-pages.yml
Expand Up @@ -28,8 +28,7 @@ jobs:
mv *.js web/
mv *.wasm web/
mv *.html web/
# https://github.com/gzuidhof/coi-serviceworker
sed 's|</head>|<script src="coi-serviceworker.js"></script></head>|' web/hello-pangocairo.original.html > web/hello-pangocairo.html
sed 's|</head>|<script>alert('This one won't work here due to CORS settings of Github Pages, please build and try this locally.');</script></head>|' web/hello-pangocairo.original.html > web/hello-pangocairo.html
- name: Deploy GitHub Pages
run: |
git worktree add gh-pages
Expand Down
132 changes: 0 additions & 132 deletions coi-serviceworker.js

This file was deleted.

0 comments on commit 8375961

Please sign in to comment.