From 94662d4cb6241f695fd9c8e0f506429bae109411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikuro=E3=81=95=E3=81=84=E3=81=AA?= Date: Thu, 17 Aug 2023 11:35:38 +0900 Subject: [PATCH] feat: Add favicon (#17) --- assets/favicon.ico | Bin 0 -> 1150 bytes src/index.tsx | 1 + 2 files changed, 1 insertion(+) create mode 100644 assets/favicon.ico diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..7ac2d926ef75e6ce8d4b370743fbeee3c2212c59 GIT binary patch literal 1150 zcmcIeK?;B{42$3ccJl1er}_U6%oHhvvZ9?B+1e&eCa~~p4ZL@pE3g4Lcu0}Cc@}`$ z0G-^Y(}`-vjOWc8S+4PlQI_jbQ{H>4x>w=jZk(&R>VN8Ew#^FFD}9!sy!DznnlrA# c`y1v_WW4RT=2d;(oAw80a%ViFe`n4oTr0JH;Q#;t literal 0 HcmV?d00001 diff --git a/src/index.tsx b/src/index.tsx index 1b3d222..581765d 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -18,6 +18,7 @@ type Bindings = { const app = new Hono<{ Bindings: Bindings }>(); +app.get("/favicon.ico", serveStatic({ path: "./favicon.ico" })); app.use("/static/*", serveStatic({ root: "./" })); app.get("/", (c) => c.html()); app.get("/done", (c) => c.html());