docs: replace environment-specific IPs with localhost
This commit is contained in:
+4
-4
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user