A decentralized music tracking and discovery platform built on AT Protocol 🎵

Add Hono logger middleware to embed app

+2 -1
+2 -1
apps/embed/src/index.tsx
··· 20 import getTopTracks from "./xrpc/getTopTracks"; 21 import getRecentScrobbles from "./xrpc/getRecentScrobbles"; 22 import chalk from "chalk"; 23 24 const app = new Hono(); 25 26 app.use("/public/*", serveStatic({ root: "./" })); 27 - 28 app.use(renderer); 29 30 app.get("/embed/u/:handle/top/artists", async (c) => {
··· 20 import getTopTracks from "./xrpc/getTopTracks"; 21 import getRecentScrobbles from "./xrpc/getRecentScrobbles"; 22 import chalk from "chalk"; 23 + import { logger } from "hono/logger"; 24 25 const app = new Hono(); 26 27 + app.use(logger()); 28 app.use("/public/*", serveStatic({ root: "./" })); 29 app.use(renderer); 30 31 app.get("/embed/u/:handle/top/artists", async (c) => {