From 60e996d3eb8d0b6e9b3db6bf8730094a4059927c Mon Sep 17 00:00:00 2001 From: Nikhil Saraf Date: Fri, 29 Dec 2023 01:10:42 +0530 Subject: [PATCH 1/2] chore: remove logging of fs routes --- packages/vinxi/lib/dev-server.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/vinxi/lib/dev-server.js b/packages/vinxi/lib/dev-server.js index 1157c030..f638a6ac 100644 --- a/packages/vinxi/lib/dev-server.js +++ b/packages/vinxi/lib/dev-server.js @@ -181,14 +181,14 @@ export async function createDevServer( await app.hooks.callHook("app:dev:server:created", { app, devApp }); - for (const router of app.config.routers) { - if (router.internals && router.internals.routes) { - const routes = await router.internals.routes.getRoutes(); - for (const route of routes) { - withLogger({ router }, () => console.log(route.path)); - } - } - } + // for (const router of app.config.routers) { + // if (router.internals && router.internals.routes) { + // const routes = await router.internals.routes.getRoutes(); + // for (const route of routes) { + // withLogger({ router }, () => console.log(route.path)); + // } + // } + // } // We do this so that we can access the app in plugins using globalThis.app just like we do in production. // @ts-ignore From b654e607565d7ae37a28e9452f8e71edc7b734b8 Mon Sep 17 00:00:00 2001 From: Nikhil Saraf Date: Fri, 29 Dec 2023 01:11:07 +0530 Subject: [PATCH 2/2] Create tough-files-wash.md --- .changeset/tough-files-wash.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tough-files-wash.md diff --git a/.changeset/tough-files-wash.md b/.changeset/tough-files-wash.md new file mode 100644 index 00000000..aba097fe --- /dev/null +++ b/.changeset/tough-files-wash.md @@ -0,0 +1,5 @@ +--- +"vinxi": patch +--- + +chore: remove logging of fs routes