Add CORS support for the Worker

This commit is contained in:
Simon Bihel
2022-02-11 12:30:10 +00:00
parent 79ffb360fe
commit 15763cd0bb
4 changed files with 21 additions and 10 deletions

View File

@@ -58,7 +58,8 @@ matchit = "0.4.2"
serde_urlencoded = "0.7.0"
uuid = { version = "0.8", features = ["serde", "v4", "wasm-bindgen"] }
wee_alloc = { version = "0.4" }
worker = "0.0.8"
# worker = "0.0.8"
worker = { git = "https://github.com/cloudflare/workers-rs", branch = "main" }
[profile.release]
opt-level = "z"