Files
studio-manual-fe/vite.config.ts
T
chyoo a4c164877c
ci/woodpecker/push/woodpecker Pipeline was successful
add ingress..
2026-07-14 11:05:07 +09:00

17 lines
349 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
base: '/manual/',
plugins: [react()],
server: {
proxy: {
'/manual/api': {
target: 'http://localhost:4500',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/manual/, ''),
},
},
},
})