This commit is contained in:
2025-12-12 18:32:14 +08:00
parent e66eb6b575
commit e002f0d989
41 changed files with 36625 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path'
export default defineConfig({
plugins: [vue()],
resolve: {
alias: {
'@': resolve(__dirname, 'src')
}
},
server: {
port: 5173,
allowedHosts:['.trycloudflare.com','.ngrok-free.app','.cpolar.top','.cpolar.cn'],
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
}
}
}
})