Improved image caching and CORS handling

This commit is contained in:
Cameron
2025-12-17 22:36:03 -05:00
parent c6b1b46629
commit 52e1ced2a2
3 changed files with 33 additions and 6 deletions

16
Cargo.lock generated
View File

@@ -44,6 +44,21 @@ dependencies = [
"tracing",
]
[[package]]
name = "actix-cors"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "daa239b93927be1ff123eebada5a3ff23e89f0124ccb8609234e5103d5a5ae6d"
dependencies = [
"actix-utils",
"actix-web",
"derive_more 2.0.1",
"futures-util",
"log",
"once_cell",
"smallvec",
]
[[package]]
name = "actix-files"
version = "0.6.7"
@@ -1537,6 +1552,7 @@ name = "image-api"
version = "0.4.0"
dependencies = [
"actix",
"actix-cors",
"actix-files",
"actix-multipart",
"actix-rt",