Implements CORS

This commit is contained in:
2024-02-26 02:01:05 -03:00
parent 1bf44a0c07
commit d98e1de8c1
8 changed files with 50 additions and 12 deletions

View File

@@ -21,3 +21,4 @@ dotenv = "0.15.0"
log = "0.4.20"
lettre = { version = "0.11.4", default-features = false, features = ["smtp-transport", "tokio1-rustls-tls", "hostname", "builder"] }
redis = { version = "0.24.0", features = ["aio", "tokio-comp"] }
tower-http = { version = "0.5.2", features = ["cors"] }