concept-collection / trystero-messaging-demo
Use a relative base so the build works at any mount point
owner <owner@noreply.vault1.fly.dev> committed commit 17356fdd4517 parent efc2f43 Browse files
1 changed file+2−2
vite.config.tsmodified+2−2View file
@@ -4,8 +4,8 @@ import react from '@vitejs/plugin-react'
44 // https://vite.dev/config/
55 export default defineConfig({
66 plugins: [react()],
7- // Served from https://concept-collection.github.io/trystero-messaging-demo/
8- base: '/trystero-messaging-demo/',
7+ // Relative base, so the build works wherever it is mounted
8+ base: './',
99 server: {
1010 host: true
1111 }