临时解决用Firefox走https方式访问TP时,无法检测到助手。这样Chrome和Firefox都可以了,但IE仍然不行。

pull/105/head
Apex Liu 2018-05-09 17:42:25 +08:00
parent 0a3c99dc05
commit f197d85567
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
$tp.assist = {
running: false,
version: '',
api_url: 'http://localhost:50022/api',
// api_url: 'http://localhost:50022/api',
api_url: 'http://127.0.0.1:50022/api',
teleport_ip: window.location.hostname
};