pali-lili/frontend/vite.config.ts

15 lines
289 B
TypeScript
Raw Permalink Normal View History

2025-12-14 17:47:51 +00:00
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api/': {
target: 'http://localhost:8000',
changeOrigin: true,
}
}
}
})