12345678910111213141516171819202122232425262728 |
- let HOST_IP=location.hostname=='localhost'?'10.101.37.13':location.hostname
- let dh_config = {
- "back_ip": "/camera",
- "ocx_ip": "/camera",
- "socket_ip": "ws://"+location.host+"/socket/ptzChange/",
- // "socket_ip": "ws://"+HOST_IP+":9050/socket/ptzChange/",
- "bind_ip": "http://10.101.37.13:8023/#/bind",
- "serverId": ''
- };
- /*60服务器地址*/
- // let dh_config = {
- // "back_ip": "http://60.191.110.206:48017",
- // "ocx_ip": "http://60.191.110.206:48017",
- // "socket_ip": "ws://60.191.110.206:48017/socket/ptzChange/",
- // "serverId": ''
- // };
- /*本地测试地址*/
- // let dh_config = {
- // "back_ip": "/camera",
- // "ocx_ip": "http://localhost:8017",
- // "socket_ip": "ws://localhost:8017/socket/ptzChange/",
- // "bind_ip": "http://localhost:8080/#/bind",
- // "serverId": ''
- // };
- export default dh_config;
|