Configure CORS

This commit is contained in:
Alex Selimov 2026-03-19 23:37:03 -04:00
parent e5d0219df8
commit 44c9f0e705
4 changed files with 32 additions and 7 deletions

View file

@ -20,7 +20,7 @@ sqlx = { version = "0.8.6", features = [
] }
tokio = { version = "1", features = ["full"] }
tower = "0.5"
tower-http = { version = "0.6", features = ["trace"] }
tower-http = { version = "0.6", features = ["trace", "cors"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
uuid = { version = "1.22.0", features = ["v4"] }