Skip to content

Commit ba24037

Browse files
committed
Update tower-http to make cors example work.
Signed-off-by: David Calavera <[email protected]>
1 parent 9ea3ed1 commit ba24037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/http-cors/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2021"
1414
lambda_http = { path = "../../lambda-http" }
1515
lambda_runtime = { path = "../../lambda-runtime" }
1616
tokio = { version = "1", features = ["macros"] }
17-
tower-http = { version = "0.3.3", features = ["cors"] }
17+
tower-http = { version = "0.5", features = ["cors"] }
1818
tracing = { version = "0.1", features = ["log"] }
1919
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt"] }
2020

0 commit comments

Comments
 (0)