This commit is contained in:
mayunfei committed 2026-12-04 09:44:59 +08:00
commit 5f8428a318
1688 files changed
+39031

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
import vue from '@vitejs/plugin-vue'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [vue()],
server: {
port: 5173,
proxy: {
'/api': {
target: 'http://127.0.0.1:5000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
},
},
},
build: {
outDir: '../src/RecordBot/wwwroot',
emptyOutDir: true,
},
})