Add better cors for core
This commit is contained in:
parent
32c75ad73a
commit
9f64075f5a
5 changed files with 39 additions and 7 deletions
16
Cargo.lock
generated
16
Cargo.lock
generated
|
|
@ -44,6 +44,21 @@ dependencies = [
|
|||
"tracing",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "actix-cors"
|
||||
version = "0.6.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b340e9cfa5b08690aae90fb61beb44e9b06f44fe3d0f93781aaa58cfba86245e"
|
||||
dependencies = [
|
||||
"actix-utils",
|
||||
"actix-web",
|
||||
"derive_more",
|
||||
"futures-util",
|
||||
"log",
|
||||
"once_cell",
|
||||
"smallvec",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "actix-http"
|
||||
version = "3.4.0"
|
||||
|
|
@ -862,6 +877,7 @@ name = "emgauwa-core"
|
|||
version = "0.5.0"
|
||||
dependencies = [
|
||||
"actix",
|
||||
"actix-cors",
|
||||
"actix-web",
|
||||
"actix-web-actors",
|
||||
"chrono",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue