Added build ID to footer. Added check for client-server mismatch.

This commit is contained in:
Pen Anderson 2026-03-03 13:38:31 -06:00
parent f9c4facad6
commit ec5b5192da
5 changed files with 77 additions and 2 deletions

View file

@ -3,6 +3,9 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
export default defineConfig({
plugins: [svelte()],
define: {
__BUILD_ID__: JSON.stringify(process.env.BUILD_ID || 'dev'),
},
server: {
proxy: {
'/api': 'http://localhost:8180',