From 0a51ef4793563a73057dc961e197d2f53bb990af Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Fri, 13 Sep 2024 11:50:50 -0700 Subject: [PATCH] SHIBUI-2639 Set vite asset path to always be ./ --- ui/vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/vite.config.js b/ui/vite.config.js index 1a5e01abb..c935d6ead 100644 --- a/ui/vite.config.js +++ b/ui/vite.config.js @@ -37,7 +37,8 @@ export default defineConfig(({mode}) => { }; return ({ - base: `${context ? context : "."}/`, + // base: `${context ? context : "."}/`, Use this when deploying to a subdirectory in local development + base: `./`, server:{ port, proxy