Skip to content

Commit fa62d5a

Browse files
Update v0.1.0.md
1 parent 4111620 commit fa62d5a

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

apps/docs/docs/upgrade-guides/v0.1.0.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ docker compose up -d
1616

1717

1818
## Breaking changes
19-
### Chithi frontend needs COEP (Cross-Origin-Embedder-Policy)
19+
### Chithi frontend needs COOP and COEP headers
2020
In previous version of `chithi`, we didn't do in browser convertion of files.
2121

2222
Now `chithi` supports the following transformations:
@@ -25,13 +25,15 @@ Now `chithi` supports the following transformations:
2525
* HEIC -> PNG (using [heic-to](https://www.npmjs.com/package/heic-to))
2626
* JXL -> PNG (using [@jsquash/jxl](https://www.npmjs.com/package/@jsquash/jxl))
2727

28-
To accomodate these with wasm threads, we have to enable COEP header.
28+
To accomodate these with wasm threads, we have to enable [COOP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Opener-Policy) and [COEP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Cross-Origin-Embedder-Policy) headers.
29+
30+
You can read an [article on web.dev](https://web.dev/articles/why-coop-coep) on why COOP and COEP headers are needed.
2931

3032
!!! info
3133

32-
Webassembly is really complex to get into. If you want some more information on this, you can read the [WASM threads spec](https://github.com/webassembly/threads)
34+
While the site itself does not change much in meaningful way, having no COOP and COEP headers mean your fonts and other assets wont load properly.
3335

34-
That means your reverse proxy of choice must add the security headers, otherwise the static assets like worker and fonts wont load properly.
36+
That means your reverse proxy of choice must add the security headers.
3537

3638
Please see the deployment section for your reverse proxy of choice.
3739

0 commit comments

Comments
 (0)