tangled
alpha
login
or
join now
t1c.dev
/
rocksky
forked from
rocksky.app/rocksky
2
fork
atom
A decentralized music tracking and discovery platform built on AT Protocol 🎵
2
fork
atom
overview
issues
pulls
pipelines
Add Hono logger middleware to embed app
tsiry-sandratraina.com
1 month ago
1bf0d34e
35062677
+2
-1
1 changed file
expand all
collapse all
unified
split
apps
embed
src
index.tsx
+2
-1
apps/embed/src/index.tsx
···
20
20
import getTopTracks from "./xrpc/getTopTracks";
21
21
import getRecentScrobbles from "./xrpc/getRecentScrobbles";
22
22
import chalk from "chalk";
23
23
+
import { logger } from "hono/logger";
23
24
24
25
const app = new Hono();
25
26
27
27
+
app.use(logger());
26
28
app.use("/public/*", serveStatic({ root: "./" }));
27
27
-
28
29
app.use(renderer);
29
30
30
31
app.get("/embed/u/:handle/top/artists", async (c) => {