first commit

Made-with: Cursor
This commit is contained in:
Dr Jones
2026-04-25 06:56:23 +00:00
commit 697185c0a1
40 changed files with 10480 additions and 0 deletions

23
vite.config.ts Normal file
View File

@@ -0,0 +1,23 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
const apiProxy = {
'/api': {
target: 'http://127.0.0.1:4242',
changeOrigin: true,
},
}
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 5173,
proxy: apiProxy,
},
// `vite preview` does not inherit dev server proxy unless set here
preview: {
proxy: apiProxy,
},
})