mirror of
https://github.com/tauri-apps/wry.git
synced 2026-01-31 00:35:20 +01:00
chore(bench): fix benchmark compilation error (#1029)
Signed-off-by: rhysd <lin90162@yahoo.co.jp>
This commit is contained in:
@@ -50,7 +50,7 @@ fn main() -> wry::Result<()> {
|
||||
Response::builder()
|
||||
.header(CONTENT_TYPE, mimetype)
|
||||
.body(data)
|
||||
.map_err(Into::into)
|
||||
.unwrap()
|
||||
})
|
||||
.with_url("wrybench://localhost")?
|
||||
.with_ipc_handler(handler)
|
||||
|
||||
@@ -54,7 +54,7 @@ fn main() -> wry::Result<()> {
|
||||
Response::builder()
|
||||
.header(CONTENT_TYPE, "text/html")
|
||||
.body(INDEX_HTML.into())
|
||||
.map_err(Into::into)
|
||||
.unwrap()
|
||||
})
|
||||
.with_url("wrybench://localhost")?
|
||||
.build()?;
|
||||
|
||||
Reference in New Issue
Block a user