Cleanup init commit

This commit is contained in:
Extraltodeus
2026-07-13 22:26:50 +02:00
commit 1ff4063282
46 changed files with 12724 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// Dev proxy target: the backend port (run.py --port), overridable so a
// non-default instance can be hot-reload developed too.
const backend = `127.0.0.1:${process.env.JWASH_PORT || 8381}`
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': `http://${backend}`,
'/ws': { target: `ws://${backend}`, ws: true },
},
},
})