Skip to content

Commit

Permalink
fix: add service worker hack to get shared array buffer working
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Jan 17, 2024
1 parent bc3e5c3 commit c88cfcb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: GitHub Actions Demo
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
name: Deploy
on: [push]
permissions:
contents: read
Expand All @@ -12,7 +11,7 @@ env:
BUILD_PATH: "." # default value when not using subfolders
# BUILD_PATH: subfolder
jobs:
Explore-GitHub-Actions:
Deploy:
permissions: write-all
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<script src="/coi-serviceworker.min.js"></script>
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 2 additions & 0 deletions public/coi-serviceworker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c88cfcb

Please sign in to comment.