You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
411 B
8 lines
411 B
var config = (function(global){
|
|
global.apigateway = 'http://localhost'; // 设置通过API网关访问
|
|
//global.resourceUrl = 'http://localhost'; // 媒体文件资源
|
|
global.iotCenterUrl = 'http://localhost/IoTCenter'; // IoT服务API
|
|
global.hubUrl = 'ws://localhost/IoTCenter/hub?group=page'; // 设备WebSocket访问地址
|
|
return global;
|
|
})(window.config||{});
|
|
console.log('config init'); |