2026-03-08 11:28:59 -04: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
|
2026-03-08 16:48:58 -04:00
|
|
|
},
|
|
|
|
|
'/media': {
|
|
|
|
|
target: 'http://localhost:8000',
|
2026-03-10 08:39:28 -04:00
|
|
|
changeOrigin: true
|
2026-03-08 11:28:59 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|