allow cors

This commit is contained in:
Aleksandr 2025-10-16 23:08:18 +03:00
parent 18b827690f
commit 50e9d0d1e0
2 changed files with 4 additions and 1 deletions

View file

@ -30,7 +30,7 @@ eyre.workspace = true
axum = { optional = true, version = "0.8.4", default-features = false, features = ["http2", "ws", "macros"] }
http-body-util = { version = "0.1.3", optional = true }
tower-http = { optional = true, version = "0.6.6", default-features = false, features = ["limit"] }
tower-http = { optional = true, version = "0.6.6", default-features = false, features = ["cors"] }
serde_urlencoded = { version = "0.7.1", optional = true }
tokio = { workspace = true, optional = true }