From a588f28f068947814fb6c81013159d6c081d91b0 Mon Sep 17 00:00:00 2001 From: Kamal Qureshi Date: Thu, 19 Jun 2025 13:56:51 +0500 Subject: [PATCH] Update vite.config.mts --- client/packages/lowcoder/vite.config.mts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/packages/lowcoder/vite.config.mts b/client/packages/lowcoder/vite.config.mts index e8c9351b9..30598bf53 100644 --- a/client/packages/lowcoder/vite.config.mts +++ b/client/packages/lowcoder/vite.config.mts @@ -25,7 +25,8 @@ const isVisualizerEnabled = !!process.env.ENABLE_VISUALIZER; // the file was never created // const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`; const browserCheckFileName = `browser-check.js`; -const base = ensureLastSlash(process.env.PUBLIC_URL); +const base = ensureLastSlash("__LOWCODER_BASEPATH_PLACEHOLDER__"); +// const base = ensureLastSlash(process.env.PUBLIC_URL); if (!apiServiceUrl && isDev) { console.log();