Skip to content

Commit

Permalink
fix: fix wry template
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Oct 16, 2024
1 parent 9edb709 commit 310e23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/apps/wry/src/lib.rs.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ fn build_webview(event_loop: &EventLoopWindowTarget<()>) -> anyhow::Result<WebVi
})
.with_custom_protocol("wry".into(), move |_, _request| {
http::Response::builder()
.header(CONTENT_TYPE, "text/html")
.header(http::header::CONTENT_TYPE, "text/html")
.body(
r#"<html>
<body>
Expand Down

0 comments on commit 310e23c

Please sign in to comment.