brand-master/frontend/vite.config.js
dvirlabs 047a910ce4
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Fix frontend static asset redirect loops - add proper nginx config for /assets/ directory
2026-05-08 13:01:31 +03:00

17 lines
293 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
base: '/',
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8000',
changeOrigin: true,
},
},
},
})