🔧 config: 修改环境变量配置

This commit is contained in:
wangsongsole 2023-09-20 15:43:47 +08:00
parent 4c45a5d41a
commit 1faecc4b78
2 changed files with 7 additions and 7 deletions

View File

@ -5,13 +5,6 @@ process.env.BASE_URL = "http://test.marketapi.1688sup.com"
process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1" process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1"
process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login" process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login"
//镜像环境 / 统一登陆灰度
/*
baseurl = 'http://pre.marketapi.1688sup.com'
unifiedApi = 'http://api.gray.user.1688sup.com/v1';
window.unifiedUrl = 'http://gray.user.1688sup.com/#/login';
*/
// Makes the script crash on unhandled rejections instead of silently // Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will // ignoring them. In the future, promise rejections that are not handled will
// terminate the Node.js process with a non-zero exit code. // terminate the Node.js process with a non-zero exit code.

View File

@ -5,6 +5,13 @@ process.env.BASE_URL = "http://test.marketapi.1688sup.com"
process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1" process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1"
process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login" process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login"
//镜像环境 / 统一登陆灰度
/*
baseurl = 'http://pre.marketapi.1688sup.com'
unifiedApi = 'http://api.gray.user.1688sup.com/v1';
window.unifiedUrl = 'http://gray.user.1688sup.com/#/login';
*/
// Makes the script crash on unhandled rejections instead of silently // Makes the script crash on unhandled rejections instead of silently
// ignoring them. In the future, promise rejections that are not handled will // ignoring them. In the future, promise rejections that are not handled will
// terminate the Node.js process with a non-zero exit code. // terminate the Node.js process with a non-zero exit code.