22 lines
470 B
JavaScript
22 lines
470 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss(),],
|
|
server: {
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://127.0.0.1:5000',
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
'/remotecdm': {
|
|
target: 'http://127.0.0.1:5000',
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
},
|
|
},
|
|
})
|