diff --git a/packages/server-handler/index.ts b/packages/server-handler/index.ts index 2684dd79..04d08033 100644 --- a/packages/server-handler/index.ts +++ b/packages/server-handler/index.ts @@ -80,8 +80,6 @@ export const processRoute = async ( return response(); } - console.log(matchedRoute); - const route: APIRouteExports | null = await import( matchedRoute.filePath ).catch((e) => { @@ -89,8 +87,6 @@ export const processRoute = async ( return null; }); - console.log(route); - if (!route) { return errorResponse("Route not found", 404); } diff --git a/server.ts b/server.ts index 5e2eeea2..f4ed21ff 100644 --- a/server.ts +++ b/server.ts @@ -119,9 +119,6 @@ export const createServer = ( const matchedRoute = matchRoute( req.url.replace(".well-known", "well-known"), ); - - console.log(matchedRoute); - if (matchedRoute?.filePath && matchedRoute.name !== "/[...404]") { return await processRoute(matchedRoute, req, logger); }