forked from external-repos/squoosh
Add CORS to sdk file
This commit is contained in:
@@ -9,6 +9,10 @@
|
|||||||
/serviceworker.js
|
/serviceworker.js
|
||||||
Cache-Control: no-cache
|
Cache-Control: no-cache
|
||||||
|
|
||||||
|
# Module imports need CORS, so we enable it for the SDK file.
|
||||||
|
/squoosh.mjs
|
||||||
|
Access-Control-Allow-Origin: *
|
||||||
|
|
||||||
/manifest.json
|
/manifest.json
|
||||||
Cache-Control: must-revalidate, max-age=3600
|
Cache-Control: must-revalidate, max-age=3600
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user