2021-12-10 17:07:29 +08:00
|
|
|
/*
|
|
|
|
* @Author: gtz
|
|
|
|
* @Date: 2021-11-19 10:10:52
|
|
|
|
* @LastEditors: gtz
|
|
|
|
* @LastEditTime: 2021-12-09 11:08:41
|
|
|
|
* @Description: file content
|
|
|
|
* @FilePath: \mt-qj-wms-ui\static\config\index-prod.js
|
|
|
|
*/
|
2021-11-15 08:22:01 +08:00
|
|
|
/**
|
|
|
|
* 生产环境
|
|
|
|
*/
|
|
|
|
;(function () {
|
|
|
|
window.SITE_CONFIG = {};
|
|
|
|
|
|
|
|
// api接口请求地址
|
2021-12-10 17:07:29 +08:00
|
|
|
window.SITE_CONFIG['baseUrl'] = '/api';
|
2022-03-20 11:24:39 +08:00
|
|
|
// WS请求地址
|
|
|
|
window.SITE_CONFIG['baseWsUrl'] = 'ws://192.168.6.66:8080/'
|
2021-11-15 08:22:01 +08:00
|
|
|
|
|
|
|
// cdn地址 = 域名 + 版本号
|
|
|
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
|
|
|
window.SITE_CONFIG['version'] = ''; // 版本号(年月日时分)
|
|
|
|
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version;
|
|
|
|
})();
|