diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-09-13 15:57:02 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-09-13 15:57:02 +0000 |
| commit | 3f0efabcdc8fd12535c29acc734474e093e6f2f5 (patch) | |
| tree | 79010c9a3877a849cea30264ded7ac5a5d304888 /Cargo.toml | |
| parent | f3aa3792255652371ceea6ec032c8962061eb3dc (diff) | |
Add CORS
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ serde_json = "1.0" tokio = { version = "1.20", features = ["full"] } tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } -tower-http = { version = "0.3.4", features = ["trace", "compression-br", "propagate-header", "sensitive-headers"] } +tower-http = { version = "0.3.4", features = ["trace", "cors", "compression-br", "propagate-header", "sensitive-headers"] } sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", "postgres", "chrono", "json" ] } sha256 = "1.0.3" validator = { version = "0.16.0", features = ["derive"] } |
