feat: 展示真实运维审计日志

This commit is contained in:
湛兮
2026-06-11 23:06:49 +08:00
parent c89118ee00
commit 88836590cd
5 changed files with 155 additions and 1 deletions
+10
View File
@@ -1,3 +1,6 @@
/**
* 前端开发服务器配置;本地 /api 代理到真实 DevOps API,避免引入 mock 数据。
*/
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
@@ -6,5 +9,12 @@ export default defineConfig({
plugins: [vue()],
server: {
port: 4301,
proxy: {
'/api': {
target: process.env.DEVOPS_API_PROXY_TARGET ?? 'https://devops.mrzhan.top',
changeOrigin: true,
secure: true,
},
},
},
})