fix(control-ui): serve dashboard at root
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
"moduleResolution": "Bundler",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"strict": true,
|
||||
"experimentalDecorators": true,
|
||||
"skipLibCheck": true,
|
||||
"types": ["vite/client"],
|
||||
"useDefineForClassFields": false
|
||||
|
||||
@@ -5,7 +5,7 @@ import { defineConfig } from "vite";
|
||||
const here = path.dirname(fileURLToPath(import.meta.url));
|
||||
|
||||
export default defineConfig({
|
||||
base: "/ui/",
|
||||
base: "/",
|
||||
build: {
|
||||
outDir: path.resolve(here, "../dist/control-ui"),
|
||||
emptyOutDir: true,
|
||||
|
||||
Reference in New Issue
Block a user