fix(control-ui): serve dashboard at root

This commit is contained in:
Peter Steinberger
2025-12-19 05:11:08 +00:00
parent 00fc731d64
commit c498348a34
7 changed files with 14 additions and 15 deletions

View File

@@ -5,6 +5,7 @@
"moduleResolution": "Bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"strict": true,
"experimentalDecorators": true,
"skipLibCheck": true,
"types": ["vite/client"],
"useDefineForClassFields": false

View File

@@ -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,