docs: replace environment-specific IPs with localhost
This commit is contained in:
+3
-3
@@ -44,7 +44,7 @@
|
||||
<b>排查</b><br />
|
||||
· 气泡没出现:打开浏览器控制台看 <code>[YehwangChat]</code> / <code>Failed to initialize Libredesk Widget</code> 报错<br />
|
||||
· 登录身份:页面会先调 bridge <code>POST /identity</code> 拿 <code>userJWT</code>,再加载 widget<br />
|
||||
· 聊天窗口打不开:检查 LibreDesk 可信域名里是否有 <code>192.168.31.61:8088</code>(CSP frame-ancestors)
|
||||
· 聊天窗口打不开:检查 LibreDesk 可信域名里是否有 <code>localhost:8088</code>(CSP frame-ancestors)
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -68,9 +68,9 @@
|
||||
|
||||
function boot() {
|
||||
var cfg = {
|
||||
baseURL: 'http://192.168.31.61:9000',
|
||||
baseURL: 'http://localhost:9000',
|
||||
inboxID: '10fd5207-d235-4c49-beaa-a65eed0ddd0e',
|
||||
identityURL: 'http://192.168.31.61:4100/identity',
|
||||
identityURL: 'http://localhost:4100/identity',
|
||||
};
|
||||
if (mode === 'login') {
|
||||
var siteJwt = params.get('siteJwt');
|
||||
|
||||
Reference in New Issue
Block a user