Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
scm_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
30d4fb3d
authored
Jun 04, 2026
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
feat(api): 更新环境配置为生产环境并修正API_BASE_SCM地址
将环境配置更改为生产环境,并修正API_BASE_SCM的URL为HTTPS协议,以确保安全性。
parent
12ec4980
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
util/api.js
util/api.js
View file @
30d4fb3d
// 环境配置:'production' 正式环境 | 'development' 测试环境
var
ENV
=
'
development
'
;
var
ENV
=
'
production
'
;
// 微信小程序线上(正式版)自动切换为 production
// #ifdef MP-WEIXIN
...
...
@@ -21,7 +21,7 @@ var ENV_CONFIG = {
API_BASE_USER
:
'https://user.ichunt.net'
,
API_BASE_OSS
:
'https://image.ichunt.net'
,
API_BASE
:
'https://scv2.ichunt.net'
,
API_BASE_SCM
:
'http://sc.ichunt.net'
,
API_BASE_SCM
:
'http
s
://sc.ichunt.net'
,
API_BASE_ICHUNT
:
'https://api.ichunt.com'
},
development
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment