From 7691f74d43d87d6d13b77ede4dea203386042c73 Mon Sep 17 00:00:00 2001 From: Aarnav Tale Date: Thu, 10 Jul 2025 11:30:23 -0400 Subject: [PATCH] fix: basename should always be prefix??? --- app/routes/ssh/console.tsx | 1 - vite.config.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/routes/ssh/console.tsx b/app/routes/ssh/console.tsx index 7e47379..ff6ba74 100644 --- a/app/routes/ssh/console.tsx +++ b/app/routes/ssh/console.tsx @@ -139,7 +139,6 @@ export async function loader({ auth_key: preAuthKey.key, } satisfies EphemeralNodeInsert) .returning(); - console.log('Created ephemeral node:', ephemeralNode); return { ipnDetails: { diff --git a/vite.config.ts b/vite.config.ts index 48e4f03..aa21024 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,7 +24,7 @@ const config = await readFile('config.example.yaml', 'utf-8'); const { server } = parse(config); export default defineConfig(({ isSsrBuild }) => ({ - base: isSsrBuild ? `${prefix}/` : undefined, + base: `${prefix}/`, plugins: [ reactRouterHonoServer(), reactRouter(),