fix: serving gotify on a subpath
https://vite.dev/guide/build.html#relative-base
This commit is contained in:
parent
0239db0a6e
commit
5c2a972221
|
|
@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react';
|
||||||
const GOTIFY_SERVER_PORT = process.env.GOTIFY_SERVER_PORT ?? '80';
|
const GOTIFY_SERVER_PORT = process.env.GOTIFY_SERVER_PORT ?? '80';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
base: './',
|
||||||
build: {
|
build: {
|
||||||
outDir: 'build',
|
outDir: 'build',
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue