Files
SeeyonFileSystem/web/vite.config.ts
2026-07-03 15:58:29 +08:00

20 lines
372 B
TypeScript

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