CORS bug fix (#28)
Reviewed-on: phoenix/textsender_api#28
This commit was merged in pull request #28.
This commit is contained in:
@@ -33,6 +33,7 @@ pub mod init {
|
||||
let cors = tower_http::cors::CorsLayer::new()
|
||||
.allow_methods([
|
||||
axum::http::Method::GET,
|
||||
axum::http::Method::PATCH,
|
||||
axum::http::Method::POST,
|
||||
axum::http::Method::PUT,
|
||||
axum::http::Method::DELETE,
|
||||
|
||||
Reference in New Issue
Block a user