mirror of
https://github.com/YspCoder/clawgo.git
synced 2026-04-14 00:17:34 +08:00
17 lines
306 B
TypeScript
17 lines
306 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
export default defineConfig({
|
|
base: '/webui/',
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5173,
|
|
proxy: {
|
|
'/webui/api': {
|
|
target: 'http://127.0.0.1:18790',
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
})
|