15 lines
326 B
TypeScript
15 lines
326 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
proxy: {
|
|
'/uploads': {
|
|
target: 'http://localhost:5002',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
}) |