From 3e8901925b11a4a49c19ac509e010d061c787d6a Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Thu, 22 Dec 2022 16:28:15 +0100 Subject: [PATCH] Add workaround in vite.config --- webui/vite.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/vite.config.js b/webui/vite.config.js index 38a0901..07740c7 100644 --- a/webui/vite.config.js +++ b/webui/vite.config.js @@ -19,7 +19,7 @@ export default defineConfig(({command, mode, ssrBuild}) => { }; } else { ret.define = { - "__API_URL__": JSON.stringify("/"), + "__API_URL__": JSON.stringify("http://localhost:3000"), }; } return ret;