PLC-read/static/config/index.js

24 lines
610 B
JavaScript
Raw Normal View History

2023-12-18 09:42:27 +08:00
/*
* @Author: zwq
* @Date: 2021-11-15 08:20:28
* @LastEditors: zwq
2024-07-16 11:04:46 +08:00
* @LastEditTime: 2024-07-16 10:49:37
2023-12-18 09:42:27 +08:00
* @Description:
*/
/**
* 开发环境
*/
;(function () {
window.SITE_CONFIG = {}
// api接口请求地址
2024-07-16 11:04:46 +08:00
window.SITE_CONFIG['baseUrl'] = 'http://192.168.1.48:8090/'
2023-12-18 09:42:27 +08:00
// api接口请求地址
2024-07-16 11:04:46 +08:00
window.SITE_CONFIG['wbURL'] = '192.168.1.48:8090/'
2023-12-18 09:42:27 +08:00
// cdn地址 = 域名 + 版本号
window.SITE_CONFIG['domain'] = './' // 域名
window.SITE_CONFIG['version'] = '' // 版本号(年月日时分)
window.SITE_CONFIG['cdnUrl'] = window.SITE_CONFIG.domain + window.SITE_CONFIG.version
})()