Initial release

This commit is contained in:
civ
2026-08-16 18:24:52 +07:00
commit 876886a39a
13244 changed files with 2353959 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: '0.0.0.0',
proxy: {
// Proxy all /api, /audio and /references requests to the Node.js server
'/api': {
target: 'http://127.0.0.1:3001',
changeOrigin: true,
},
'/audio': {
target: 'http://127.0.0.1:3001',
changeOrigin: true,
},
'/references': {
target: 'http://127.0.0.1:3001',
changeOrigin: true,
},
},
},
})