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