1.修改代码适配阿里云的服务器

This commit is contained in:
whm
2026-03-17 14:27:32 +08:00
parent 826617d737
commit 20e7f3a65d
1777 changed files with 775041 additions and 10 deletions

View File

@@ -7,10 +7,12 @@ export default defineConfig({
server: {
port: 3000,
host: true,
// 开发时 /api 也走域名(与 .env.development 中 VITE_API_BASE 一致)
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
target: 'https://yuheng.yuxindazhineng.com',
changeOrigin: true,
secure: true
}
}
}