Skip to content

Commit 5c2a972

Browse files
committed
fix: serving gotify on a subpath
https://vite.dev/guide/build.html#relative-base
1 parent 0239db0 commit 5c2a972

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ui/vite.config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react';
44
const GOTIFY_SERVER_PORT = process.env.GOTIFY_SERVER_PORT ?? '80';
55

66
export default defineConfig({
7+
base: './',
78
build: {
89
outDir: 'build',
910
emptyOutDir: true,

0 commit comments

Comments
 (0)