Commit 30d4fb3d by liangjianmin

feat(api): 更新环境配置为生产环境并修正API_BASE_SCM地址

将环境配置更改为生产环境,并修正API_BASE_SCM的URL为HTTPS协议,以确保安全性。
parent 12ec4980
Showing with 2 additions and 2 deletions
// 环境配置:'production' 正式环境 | 'development' 测试环境 // 环境配置:'production' 正式环境 | 'development' 测试环境
var ENV = 'development'; var ENV = 'production';
// 微信小程序线上(正式版)自动切换为 production // 微信小程序线上(正式版)自动切换为 production
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
...@@ -21,7 +21,7 @@ var ENV_CONFIG = { ...@@ -21,7 +21,7 @@ var ENV_CONFIG = {
API_BASE_USER: 'https://user.ichunt.net', API_BASE_USER: 'https://user.ichunt.net',
API_BASE_OSS: 'https://image.ichunt.net', API_BASE_OSS: 'https://image.ichunt.net',
API_BASE: 'https://scv2.ichunt.net', API_BASE: 'https://scv2.ichunt.net',
API_BASE_SCM: 'http://sc.ichunt.net', API_BASE_SCM: 'https://sc.ichunt.net',
API_BASE_ICHUNT: 'https://api.ichunt.com' API_BASE_ICHUNT: 'https://api.ichunt.com'
}, },
development: { development: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment