auction/frontend/casino/vite.config.ts
2024-01-07 15:30:48 +08:00

18 lines
338 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
open: true,
host: true,
proxy: {
'/api': {
target: 'https://dora.coz.io/',
changeOrigin: true
},
}
}
})