diff --git a/martin/martin-ui/index.html b/martin/martin-ui/index.html index daaa8d633..3e4acb63b 100644 --- a/martin/martin-ui/index.html +++ b/martin/martin-ui/index.html @@ -3,13 +3,13 @@ - + Martin Tileserver Dashboard - + @@ -19,7 +19,7 @@ - + @@ -28,7 +28,7 @@ - + diff --git a/martin/martin-ui/vite.config.ts b/martin/martin-ui/vite.config.ts index 46bcdffc4..b4bc8ade7 100644 --- a/martin/martin-ui/vite.config.ts +++ b/martin/martin-ui/vite.config.ts @@ -5,6 +5,7 @@ import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ + base: './', // A relative path supports the `route-prefix` config build: { // assets can also be the name of a tile source // so we use /_/assets to avoid conflicts