16 lines
297 B
TypeScript
16 lines
297 B
TypeScript
![]() |
import { defineConfig } from 'vite'
|
||
|
import react from '@vitejs/plugin-react'
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
server: {
|
||
|
host: '0.0.0.0',
|
||
|
port: 3001,
|
||
|
proxy: {
|
||
|
'/api': {
|
||
|
target: 'http://localhost:5001',
|
||
|
changeOrigin: true,
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
})
|