Merge pull request #569 from bjesuiter/ui-build-default-to-relative-path

fix(ui): default to relative paths for control UI assets
This commit is contained in:
Peter Steinberger
2026-01-09 14:47:46 +00:00
committed by GitHub
7 changed files with 58 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ function normalizeBase(input: string): string {
export default defineConfig(({ command }) => {
const envBase = process.env.CLAWDBOT_CONTROL_UI_BASE_PATH?.trim();
const base = envBase ? normalizeBase(envBase) : "/";
const base = envBase ? normalizeBase(envBase) : "./";
return {
base,
publicDir: path.resolve(here, "public"),