57 lines
1.8 KiB
JavaScript
57 lines
1.8 KiB
JavaScript
// 应用全局配置
|
|
module.exports = {
|
|
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
|
|
// baseUrl: 'http://218.21.27.6:1999/prod-api', // 正式环境
|
|
baseUrl: 'http://192.168.0.14:21626/nxdt-api', // 测试环境
|
|
// baseUrl: 'http://192.168.0.60:18080', // 赵福海
|
|
// baseUrl: 'http://192.168.0.58:19090', // 杰
|
|
// baseUrl: 'http://192.168.0.176:18080', // 强
|
|
// baseUrl: 'http://192.168.0.38:18080', // 强
|
|
// fileUrl: 'http://192.168.0.14:21626/file/statics/', // 测试环境
|
|
fileUrl: 'http://192.168.0.14:1999/file/statics/', // 测试环境
|
|
// fileUrl2: 'http://192.168.0.14:21626/file/statics', // 测试环境
|
|
fileUrl2: 'http://192.168.0.14:1999/file/statics', // 测试环境
|
|
// 课件: 文件视频路径
|
|
coursewareUrl: 'http://192.168.0.14:9090/nxdt-courseware',
|
|
// fileUrl: 'http://218.21.27.6:1999/file/statics/', // 产线环境
|
|
// fileUrl2: 'http://218.21.27.6:1999/file/statics', // 产线环境
|
|
// baseUrl: 'http://localhost:8080',
|
|
// 应用信息
|
|
appInfo: {
|
|
// 应用名称
|
|
name: '宁夏可视化二期-app',
|
|
// 应用版本
|
|
version: '1.1.0',
|
|
// 应用logo
|
|
logo: '/static/logo.png',
|
|
// 官方网站
|
|
// site_url: 'http://ruoyi.vip',
|
|
site_url: '',
|
|
// 政策协议
|
|
agreements: [
|
|
{
|
|
title: '隐私政策',
|
|
// url: 'https://ruoyi.vip/protocol.html'
|
|
url: ''
|
|
},
|
|
{
|
|
title: '用户服务协议',
|
|
// url: 'https://ruoyi.vip/protocol.html'
|
|
url: ''
|
|
}
|
|
]
|
|
}
|
|
// devServer: {
|
|
// disableHostCheck: true,
|
|
// proxy: {
|
|
// '/prod-api': {
|
|
// target: 'http://192.168.2.91:18080',
|
|
// changeOrigin: true,
|
|
// // secure: true, // https下关闭安全检查
|
|
// // ws: false, // 防止控制台报错:Invalid Host header
|
|
// pathRewrite: { '^/prod-api': '' }
|
|
// }
|
|
// }
|
|
// }
|
|
}
|