We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4807f58 commit 3895f9dCopy full SHA for 3895f9d
iroh-gateway/src/main.rs
@@ -518,7 +518,7 @@ async fn main() -> anyhow::Result<()> {
518
519
let cors = CorsLayer::new()
520
.allow_headers(AllowHeaders::mirror_request())
521
- .allow_methods([Method::GET])
+ .allow_methods([Method::GET, Method::HEAD, Method::OPTIONS])
522
.allow_origin(AllowOrigin::mirror_request());
523
524
#[rustfmt::skip]
0 commit comments