From 14d58d767e1d1b6423accce20b53af50319560a9 Mon Sep 17 00:00:00 2001 From: "Jason R. Clark" Date: Mon, 5 May 2025 16:25:25 +0000 Subject: [PATCH] Fix up paths for KV to align with new values --- vite.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 1da7c42..0e622a4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -41,7 +41,7 @@ export default defineConfig({ define: { // ensure that you give these types in `src/vite-end.d.ts` GITHUB_RUNTIME_PERMANENT_NAME: JSON.stringify(GITHUB_RUNTIME_PERMANENT_NAME), - BASE_KV_SERVICE_URL: JSON.stringify("/kv"), + BASE_KV_SERVICE_URL: JSON.stringify("/_spark/kv"), }, server: { port: 5000, @@ -71,11 +71,11 @@ export default defineConfig({ // Any new endpoints defined in the backend server need to be added here // as vite serves the frontend during local development and in the live preview, // and needs to know to proxy the endpoints to the backend server. - "/kv": { + "/_spark/kv": { target: "http://localhost:8000", changeOrigin: true, }, - "/llm": { + "/_spark/llm": { target: "http://localhost:8000", changeOrigin: true, },