chore(bench): fix benchmark compilation error (#1029)

Signed-off-by: rhysd <lin90162@yahoo.co.jp>
This commit is contained in:
Linda_pp
2023-10-02 15:09:17 +09:00
committed by GitHub
parent d87ea78b71
commit a179e373d4
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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()?;