build: 配置文件修改
This commit is contained in:
+15
-13
@@ -1,5 +1,5 @@
|
||||
const theme = 'theme-one' // 主题(theme-one浅蓝色,theme-two深蓝色)
|
||||
/*****************************************************************
|
||||
/** ***************************************************************
|
||||
<<<<<<<<< 主题修改 >>>>>>>>>
|
||||
1. 主题分为theme-one,theme-two两种
|
||||
2. 修改assets/styles/style.less文件,注释theme-one/theme-two
|
||||
@@ -21,11 +21,13 @@ const webLoginType = 'dev' // (后门登录、测试环境登录、本地环境
|
||||
|
||||
// 配置kkFileView
|
||||
const kkFileViewUrlDev = 'http://127.0.0.1:8012'
|
||||
const kkFileViewUrlProd = 'https://srms.foton.com.cn/preview'
|
||||
const kkFileViewUrlProd = 'https://srms.foton.com.cn/preview' // 线上
|
||||
// const kkFileViewUrlProd = 'http://47.92.92.38:8013/preview' // 39测试
|
||||
|
||||
// 配置onlyOffice
|
||||
const onlyOfficeUrlDev = 'http://127.0.0.1:8080'
|
||||
const onlyOfficeUrlProd = 'http://10.100.5.116:8088'
|
||||
const onlyOfficeUrlProd = 'http://10.100.5.116:8088' // 线上
|
||||
// const onlyOfficeUrlProd = 'http://39.98.140.126:8889' // 39测试
|
||||
|
||||
// 本地环境
|
||||
const devIp = 'localhost'
|
||||
@@ -60,16 +62,16 @@ const baseUrl = protocol + IP + ':' + PORT
|
||||
const interfaceUrl = protocol + IP + ':' + PORT + '/api/' // 服务器端接口访问地址,
|
||||
|
||||
module.exports = {
|
||||
baseUrl,
|
||||
interfaceUrl, // 服务器端接口访问地址,
|
||||
simpleUploadPath, // 单文件上传地址
|
||||
multipleUploadPath, // 多文件上传地址
|
||||
baseUrl,
|
||||
interfaceUrl, // 服务器端接口访问地址,
|
||||
simpleUploadPath, // 单文件上传地址
|
||||
multipleUploadPath, // 多文件上传地址
|
||||
|
||||
webLoginType,
|
||||
ssoLogin,
|
||||
ssoLogout,
|
||||
webLoginType,
|
||||
ssoLogin,
|
||||
ssoLogout,
|
||||
|
||||
kkFileViewUrl,
|
||||
onlyOfficeUrl,
|
||||
theme, // 主题
|
||||
kkFileViewUrl,
|
||||
onlyOfficeUrl,
|
||||
theme, // 主题
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user