Skip to content

Commit

Permalink
Merge pull request #10 from shinshin86/docs-for-safari-2
Browse files Browse the repository at this point in the history
Fix text (Docs for Safari)
  • Loading branch information
shinshin86 authored Nov 6, 2024
2 parents 4886e01 + 1b67ee9 commit ad1e924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ export default defineConfig({
## GitHub Pages
If you use GitHub Pages, you cannot use OPFS because you cannot set the `Cross-Origin-Opener-Policy: same-origin` and `Cross-Origin-Embedder-Policy: require-corp` headers.

Therefore, you must use [coi-serviceworker.js](https://github.com/gzuidhof/coi-serviceworker) on GitHub Pages, but note that it doesn’t fully support Safari.
Therefore, you must use [coi-serviceworker.js](https://github.com/gzuidhof/coi-serviceworker) on GitHub Pages. However, please note that this solution is not compatible with Safari.

In other words, if you need to support Safari, we recommend using Netlify instead.

You can load and use it in HTML as shown below.

Expand Down

0 comments on commit ad1e924

Please sign in to comment.