Skip to content

Commit

Permalink
need to serve the scripts, derp
Browse files Browse the repository at this point in the history
  • Loading branch information
tireymorris committed Jul 17, 2024
1 parent e2a1733 commit 1fd9e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 3 additions & 7 deletions public/styles/uno.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Layout from "./components/Layout.tsx";
const app = new Hono();

app.use("/styles/*", serveStatic({ root: "./public/" }));
app.use("/scripts/*", serveStatic({ root: "./public/" }));
app.use("*", logger());

app.get("/", (c) =>
Expand Down

0 comments on commit 1fd9e7f

Please sign in to comment.