26 lines
1.0 KiB
JavaScript
26 lines
1.0 KiB
JavaScript
/*
|
|
* @Author: 陈伟亮 1186723967@qq.com
|
|
* @Date: 2022-01-15 14:49:20
|
|
* @LastEditors: 陈伟亮 1186723967@qq.com
|
|
* @LastEditTime: 2022-08-18 14:35:11
|
|
* @FilePath: \background-front-end\static\config\index-prod.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
/**
|
|
* 生产环境
|
|
*/
|
|
;(function () {
|
|
window.SITE_CONFIG = {};
|
|
|
|
// 在线api接口请求地址
|
|
window.SITE_CONFIG['baseUrl'] ="http://yr.dddd.zone:9001/"
|
|
window.SITE_CONFIG['baseUrl_USER'] ="http://api-red.yingruikeji.cn/red-user/red-memory-user"
|
|
// 在线api接口请求地址
|
|
window.SITE_CONFIG['baseUrlComment'] = 'http://123.60.109.11:8081/red-memory-user';
|
|
|
|
// cdn地址 = 域名 + 版本号
|
|
window.SITE_CONFIG['domain'] = './'; // 域名
|
|
window.SITE_CONFIG['version'] = ''; // 版本号(年月日时分)
|
|
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version;
|
|
})();
|