Fix WESP UI after git clone: serve from public/wesp and materialize static.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,7 +9,8 @@ const apiProxyTarget = process.env.VITE_API_URL ?? "http://127.0.0.1:8000";
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
wespStaticPlugin(resolve(__dirname, "public/static")),
|
||||
// public/wesp is in git; public/static is generated (see scripts/materialize-wesp-static.sh).
|
||||
wespStaticPlugin(resolve(__dirname, "public/wesp")),
|
||||
react(),
|
||||
mainStaticPlugin(resolve(__dirname, "main"))
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user