diff --git a/src/index.ts b/src/index.ts index ff62c88..eb69bb0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,13 +1,9 @@ import { serve } from "bun"; import index from "./index.html"; -import { getPackageDetails } from "./lib/npm_registry"; import { fetchAllPackageDetails } from "./services/api"; - - const server = serve({ routes: { - // Serve index.html for all unmatched routes. "/*": index, "/api/analyze": async req => { const data = await req.json();