From 937a182dd1338c31b14e04a72e4634d43ce94b42 Mon Sep 17 00:00:00 2001 From: bluejay <253316343@qq.com> Date: 星期二, 08 四月 2025 09:26:04 +0800 Subject: [PATCH] env.develop 增加VITE_APP_LOCAL ,用于指导gateway进行转发 --- src/utils/request.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/utils/request.js b/src/utils/request.js index 83f223a..94f4b29 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -66,7 +66,7 @@ } } } - config.headers['version'] = import.meta.env.VITE_APP_VERSION ; + config.headers['local'] = import.meta.env.VITE_APP_LOCAL ; return config }, error => { console.log(error) -- Gitblit v1.9.3