Fix vue assets under web base path (#711)

Remove hardcoded `--base=/app/` from npm build script and set `base:
'./'` in vite.config to generate relative asset URLs

Update server `updateBasePathInFrontend` to handle relative paths

Fixes #710

Signed-off-by: Rich C <richcarni@gmail.com>
This commit is contained in:
Richard Carnibella
2026-06-09 04:08:41 +10:00
committed by GitHub
parent 1a541d7bd4
commit 012013c188
3 changed files with 10 additions and 6 deletions

View File

@@ -5,6 +5,7 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
base: './',
plugins: [vue()],
resolve: {
alias: {