Implements CORS

This commit is contained in:
2024-02-26 02:01:05 -03:00
parent 1bf44a0c07
commit d98e1de8c1
8 changed files with 50 additions and 12 deletions

17
Cargo.lock generated
View File

@@ -977,6 +977,7 @@ dependencies = [
"serde_json",
"serde_with",
"tokio",
"tower-http",
"uuid",
]
@@ -1817,6 +1818,22 @@ dependencies = [
"tracing",
]
[[package]]
name = "tower-http"
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1e9cd434a998747dd2c4276bc96ee2e0c7a2eadf3cae88e52be55a05fa9053f5"
dependencies = [
"bitflags 2.4.2",
"bytes",
"http 1.0.0",
"http-body 1.0.0",
"http-body-util",
"pin-project-lite",
"tower-layer",
"tower-service",
]
[[package]]
name = "tower-layer"
version = "0.3.2"