From af2129ebb65a825359b96042f826764f0e143555 Mon Sep 17 00:00:00 2001 From: CREDO23 Date: Fri, 27 Mar 2026 18:55:03 +0200 Subject: [PATCH] move quick-ask page into dashboard route for auth context --- surfsense_desktop/src/modules/quick-ask.ts | 2 +- surfsense_web/app/{ => dashboard}/quick-ask/actions.ts | 0 surfsense_web/app/{ => dashboard}/quick-ask/page.tsx | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename surfsense_web/app/{ => dashboard}/quick-ask/actions.ts (100%) rename surfsense_web/app/{ => dashboard}/quick-ask/page.tsx (100%) diff --git a/surfsense_desktop/src/modules/quick-ask.ts b/surfsense_desktop/src/modules/quick-ask.ts index 3ff108dd3..436281c2d 100644 --- a/surfsense_desktop/src/modules/quick-ask.ts +++ b/surfsense_desktop/src/modules/quick-ask.ts @@ -50,7 +50,7 @@ function createQuickAskWindow(x: number, y: number): BrowserWindow { skipTaskbar: true, }); - quickAskWindow.loadURL(`http://localhost:${getServerPort()}/quick-ask`); + quickAskWindow.loadURL(`http://localhost:${getServerPort()}/dashboard/quick-ask`); quickAskWindow.once('ready-to-show', () => { quickAskWindow?.show(); diff --git a/surfsense_web/app/quick-ask/actions.ts b/surfsense_web/app/dashboard/quick-ask/actions.ts similarity index 100% rename from surfsense_web/app/quick-ask/actions.ts rename to surfsense_web/app/dashboard/quick-ask/actions.ts diff --git a/surfsense_web/app/quick-ask/page.tsx b/surfsense_web/app/dashboard/quick-ask/page.tsx similarity index 100% rename from surfsense_web/app/quick-ask/page.tsx rename to surfsense_web/app/dashboard/quick-ask/page.tsx