This commit is contained in:
2026-01-16 10:38:54 +05:00
parent f0b8ed240f
commit 641e1fc14d
14 changed files with 3109 additions and 1313 deletions

View File

@@ -1,5 +1,5 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import react from '@vitejs/plugin-react-swc'
// https://vite.dev/config/
export default defineConfig({
@@ -7,7 +7,7 @@ export default defineConfig({
server: {
proxy: {
'/api': {
target: 'http://localhost:8000',
target: process.env.VITE_API_TARGET || 'http://localhost:8000',
changeOrigin: true,
}
}