From 7626d08c980e57f48208c3acb5369cca1d973411 Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" <4000772+mcmonkey4eva@users.noreply.github.com> Date: Fri, 16 Aug 2024 18:15:03 -0700 Subject: [PATCH] vite relative paths fix (#472) --- vite.config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vite.config.mts b/vite.config.mts index 99318f0f65..6bee08ef2c 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -88,6 +88,7 @@ function getModuleName(id: string): string { const DEV_SERVER_COMFYUI_URL = process.env.DEV_SERVER_COMFYUI_URL || 'http://127.0.0.1:8188'; export default defineConfig({ + base: '', server: { proxy: { '/api': { @@ -135,4 +136,4 @@ export default defineConfig({ '@': '/src' } } -}); \ No newline at end of file +});