docs: replace environment-specific IPs with localhost

This commit is contained in:
wangliang
2026-10-23 10:41:14 +08:00
parent 2803fb5dd1
commit 1ae25f1597
27 changed files with 66 additions and 66 deletions
+4 -4
View File
@@ -5,9 +5,9 @@
*
* <script>
* window.YehwangChatConfig = {
* 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',
* siteJWT: window.__SITE_JWT__ || null // 站点登录后注入
* };
* </script>
@@ -18,9 +18,9 @@
*/
(function () {
var cfg = window.YehwangChatConfig || {};
var baseURL = String(cfg.baseURL || 'http://192.168.31.61:9000').replace(/\/+$/, '');
var baseURL = String(cfg.baseURL || 'http://localhost:9000').replace(/\/+$/, '');
var inboxID = cfg.inboxID || '10fd5207-d235-4c49-beaa-a65eed0ddd0e';
var identityURL = cfg.identityURL || 'http://192.168.31.61:4100/identity';
var identityURL = cfg.identityURL || 'http://localhost:4100/identity';
var state = { loaded: false, userJWT: null };