Alma v0.0.537 飞书机器人 webhook 路由未注册

你好,我在 v0.0.537 里开启了飞书机器人,填好了 App ID 和 App Secret 并点了保存,但是访问 /api/feishu/webhook 一直返回 {"error":"Route not found","path":"/api/feishu/webhook"}。

试了一下其他几个 webhook 路由比如 telegram 和 discord 也都是同样的 Route not found,只有 /api/health 是正常返回 200 的。

感觉像是 webhook 相关的路由没有在 server 启动的时候挂载上去,或者保存设置之后没有触发路由的重新注册。重启 app 之后也没有变化。

环境是 macOS Sequoia,服务跑在 localhost:23001 上,通过 SSH 反向隧道转发到公网 IP 来接收飞书的回调。本地直接 curl localhost 也是同样的结果,所以排除了网络的问题。

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
🐛

Bug Reports

Date

16 days ago

Author

Dim Chen

Subscribe to post

Get notified by email when there are changes.