docs: use localhost in README
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
| Email 渠道 | ✅ 163 收件(imap-proxy 绕过 Unsafe Login)+ AI 回复邮件(模板)已实测 |
|
||||
| IMAP 代理 | ✅ `services/imap-id-proxy`(LibreDesk 不发 IMAP ID,163 会拒绝 SELECT) |
|
||||
| widget JWT | ✅ bridge `/identity` 签发;登录用户端到端验证通过(`search_orders` verified=true) |
|
||||
| 知识库 | ✅ 帮助中心 `yehwang-help`:9 个 collection / 108 篇文章(公开)→ http://192.168.31.61:9000/hc/yehwang-help/en |
|
||||
| 知识库 | ✅ 帮助中心 `yehwang-help`:9 个 collection / 108 篇文章(公开)→ http://localhost:9000/hc/yehwang-help/en |
|
||||
|
||||
旧栈 `crm/crm-ai-demo` 不受影响,两套可并行对照。
|
||||
|
||||
@@ -53,11 +53,11 @@ Twenty :3100 ── 公司/联系人/商机/备注/任务
|
||||
|
||||
| 组件 | 地址 | 镜像/实现 |
|
||||
|---|---|---|
|
||||
| LibreDesk | http://192.168.31.61:9000 | `libredesk:v2.9.0-rc.10`(含 WhatsApp) |
|
||||
| Twenty | http://192.168.31.61:3100 | `twentycrm/twenty:v2.30.1`(全新实例) |
|
||||
| bridge | http://192.168.31.61:4100 | Node 24,自研 |
|
||||
| Postgres | 127.0.0.1:5440 | pgvector/pg18,库 `libredesk` / `twenty` / `bridge` |
|
||||
| Redis | 127.0.0.1:6390 | redis:8.8 |
|
||||
| LibreDesk | http://localhost:9000 | `libredesk:v2.9.0-rc.10`(含 WhatsApp) |
|
||||
| Twenty | http://localhost:3100 | `twentycrm/twenty:v2.30.1`(全新实例) |
|
||||
| bridge | http://localhost:4100 | Node 24,自研 |
|
||||
| Postgres | localhost:5440 | pgvector/pg18,库 `libredesk` / `twenty` / `bridge` |
|
||||
| Redis | localhost:6390 | redis:8.8 |
|
||||
|
||||
## 目录
|
||||
|
||||
@@ -123,11 +123,11 @@ bash scripts/smoke.sh
|
||||
```html
|
||||
<script>
|
||||
window.LibredeskSettings = {
|
||||
baseURL: 'http://192.168.31.61:9000',
|
||||
baseURL: 'http://localhost:9000',
|
||||
inboxID: '10fd5207-d235-4c49-beaa-a65eed0ddd0e'
|
||||
};
|
||||
</script>
|
||||
<script async src="http://192.168.31.61:9000/widget.js"></script>
|
||||
<script async src="http://localhost:9000/widget.js"></script>
|
||||
```
|
||||
|
||||
登录用户用服务端签的 `userJWT` 绑定身份(见 `docs/libredesk-setup.md` 第 6 节)。
|
||||
@@ -135,7 +135,7 @@ bash scripts/smoke.sh
|
||||
## 站点接入(widget)
|
||||
|
||||
```bash
|
||||
bash scripts/serve-web.sh # http://192.168.31.61:8088/demo.html
|
||||
bash scripts/serve-web.sh # http://localhost:8088/demo.html
|
||||
```
|
||||
|
||||
- `web/ai-snippet.js`:设置 `window.YehwangChatConfig` 后引入;有 `siteJWT` 时先调 bridge `/identity` 换 widget JWT
|
||||
|
||||
Reference in New Issue
Block a user