Added build ID to footer. Added check for client-server mismatch.
This commit is contained in:
parent
f9c4facad6
commit
ec5b5192da
5 changed files with 77 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue