Skip to content

Commit e33b7b0

Browse files
Merge pull request #1784 from kamalqureshi/subpath
Update vite.config.mts
2 parents a6b3bda + a588f28 commit e33b7b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/packages/lowcoder/vite.config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ const isVisualizerEnabled = !!process.env.ENABLE_VISUALIZER;
2525
// the file was never created
2626
// const browserCheckFileName = `browser-check-${process.env.REACT_APP_COMMIT_ID}.js`;
2727
const browserCheckFileName = `browser-check.js`;
28-
const base = ensureLastSlash(process.env.PUBLIC_URL);
28+
const base = ensureLastSlash("__LOWCODER_BASEPATH_PLACEHOLDER__");
29+
// const base = ensureLastSlash(process.env.PUBLIC_URL);
2930

3031
if (!apiServiceUrl && isDev) {
3132
console.log();

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy