url prefix processing

This commit is contained in:
realaravinth
2021-04-11 23:23:14 +05:30
parent 517ce4973f
commit 0d1ba0d150
5 changed files with 62 additions and 3 deletions

15
Cargo.lock generated
View File

@@ -60,6 +60,20 @@ dependencies = [
"trust-dns-resolver",
]
[[package]]
name = "actix-cors"
version = "0.5.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36b133d8026a9f209a9aeeeacd028e7451bcca975f592881b305d37983f303d7"
dependencies = [
"actix-web",
"derive_more",
"futures-util",
"log",
"once_cell",
"tinyvec",
]
[[package]]
name = "actix-http"
version = "2.2.0"
@@ -1279,6 +1293,7 @@ name = "guard"
version = "0.1.0"
dependencies = [
"actix",
"actix-cors",
"actix-http",
"actix-identity",
"actix-rt",