|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
var config = (function(global){
|
|
|
|
|
global.apigateway = 'http://localhost'; // 设置通过API网关访问
|
|
|
|
|
global.apigateway = window.location.protocol + '//' + window.location.host; // 设置通过API网关访问
|
|
|
|
|
global.iotCenterUrl = global.apigateway + '/IoTCenter'; // IoT服务API
|
|
|
|
|
global.hubUrl = global.apigateway + '/IoTCenter/hub?group=page'; // 设备WebSocket访问地址
|
|
|
|
|
global.liverUrl = global.apigateway; // 流媒体服务器地址
|
|
|
|
|