first commit

This commit is contained in:
caraction
2025-06-25 14:29:07 +00:00
commit 5ea0e36207
60 changed files with 14674 additions and 0 deletions

19
vite.config.js Normal file
View File

@@ -0,0 +1,19 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: process.env.VITE_PORT || 3001,
proxy: {
'/api': `http://localhost:${process.env.PORT || 3002}`,
'/ws': {
target: `ws://localhost:${process.env.PORT || 3002}`,
ws: true
}
}
},
build: {
outDir: 'dist'
}
})