Skip to content

Commit

Permalink
feat: Add favicon (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikuroXina authored Aug 17, 2023
1 parent e3d379c commit 94662d4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added assets/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(<Index requestUrl={c.req.url} />));
app.get("/done", (c) => c.html(<Done />));
Expand Down

0 comments on commit 94662d4

Please sign in to comment.