Commit 72d8048
committed
fix: add CORS headers to CDN routes for cross-origin Pyodide access
Nightly docs at nightly.pywire.dev fetch wheels from pywire.dev/cdn/
(cross-origin). Without Access-Control-Allow-Origin, micropip in the
Pyodide web worker gets opaque/blocked responses.1 parent c9eaf98 commit 72d8048
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments