Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zhangjing
class-resource-admin
Commits
e67facff
Commit
e67facff
authored
4 years ago
by
zhangjing
Browse files
Options
Download
Email Patches
Plain Diff
交大项目的环境变量修改
parent
809d4fc0
master
classroom2022
dev
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/prod.env.js
+25
-7
config/prod.env.js
index.html
+1
-1
index.html
with
26 additions
and
8 deletions
+26
-8
config/prod.env.js
View file @
e67facff
...
...
@@ -2,19 +2,37 @@
module
.
exports
=
{
prod
:
{
NODE_ENV
:
'
"production"
'
,
BASE_API
:
'
"http://192.168.179.23:818"
'
,
// 192.168.2.246:8055
TOKEN_API
:
'
"http://192.168.179.23:818"
'
,
// 陈浩token+上传
CHECK_API
:
'
"http://192.168.179.23:820"
'
,
// 亚杰check
// BASE_API: '"http://192.168.179.23:818"', // 192.168.2.246:8055
// TOKEN_API: '"http://192.168.179.23:818"', // 陈浩token+上传
// CHECK_API: '"http://192.168.179.23:820"', // 亚杰check
// // 视频、图片 上传接口
// // IMAGE_API: '"http://uploadimg.ixuezhong.cn"',
// // 视频、图片 上传接口
// // UPLOAD_VIDEO_API: '"http://resourceapi.ixuezhong.cn"',
// // 视频回显域名
// VIDEO_API: '"http://192.168.179.23:815"',
// // 图片回显域名
// ECHO_IMG_API: '"http://192.168.179.23:810"',
// MAIN_DOMAIN: '"http://192.168.179.23:811"', // 主域
// ADMIN_DOMAIN: '"http://192.168.179.23:812"', //统一认证后台domain
// // // 不需要了
// RESOURCE_DOMAIN: '"http://resource.ixuezhong.cn"', // 资源domain
BASE_API
:
'
"https://serviceroom.swjtu.edu.cn:818"
'
,
// 192.168.2.246:8055
TOKEN_API
:
'
"https://serviceroom.swjtu.edu.cn:818"
'
,
// 陈浩token+上传
CHECK_API
:
'
"https://serviceroom.swjtu.edu.cn:820"
'
,
// 亚杰check
// 视频、图片 上传接口
// IMAGE_API: '"http://uploadimg.ixuezhong.cn"',
// 视频、图片 上传接口
// UPLOAD_VIDEO_API: '"http://resourceapi.ixuezhong.cn"',
// 视频回显域名
VIDEO_API
:
'
"http://
192.168.179.23
:815"
'
,
VIDEO_API
:
'
"http
s
://
serviceroom.swjtu.edu.cn
:815"
'
,
// 图片回显域名
ECHO_IMG_API
:
'
"http://
192.168.179.23
:810"
'
,
MAIN_DOMAIN
:
'
"http://
192.168.179.23
:811"
'
,
// 主域
ADMIN_DOMAIN
:
'
"http://
192.168.179.23
:812"
'
,
//统一认证后台domain
ECHO_IMG_API
:
'
"http
s
://
serviceroom.swjtu.edu.cn
:810"
'
,
MAIN_DOMAIN
:
'
"http
s
://
serviceroom.swjtu.edu.cn
:811"
'
,
// 主域
ADMIN_DOMAIN
:
'
"http
s
://
serviceroom.swjtu.edu.cn
:812"
'
,
//统一认证后台domain
// // 不需要了
RESOURCE_DOMAIN
:
'
"http://resource.ixuezhong.cn"
'
,
// 资源domain
...
...
This diff is collapsed.
Click to expand it.
index.html
View file @
e67facff
...
...
@@ -11,7 +11,7 @@
<script
src=
"<%= BASE_URL %>/tinymce4.7.5/tinymce.min.js"
></script>
<script
src=
"./static/ueditor/utf8-jsp/jquery-2.2.3.min.js"
></script>
<div
id=
"app"
></div>
<iframe
id=
"iframe"
src=
"https://
www.ixuezhong.cn
/login/index.html"
style=
"width: 0;height: 0;display: none"
frameborder=
"0"
>
<iframe
id=
"iframe"
src=
"https://
serviceroom.swjtu.edu.cn:811
/login/index.html"
style=
"width: 0;height: 0;display: none"
frameborder=
"0"
>
</iframe>
<!-- <iframe id="iframe" src="http://192.168.179.23:811/login/index.html" style="width: 0;height: 0;display: none" frameborder="0">
</iframe> -->
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help