mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 00:18:19 +01:00
Remove old logs
This commit is contained in:
parent
013f0b4459
commit
89590d5a3d
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue