Timothy Jaeryang Baek 4 月之前
父节点
当前提交
34cc472c48
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      backend/open_webui/routers/channels.py

+ 2 - 2
backend/open_webui/routers/channels.py

@@ -198,12 +198,12 @@ async def send_notification(channel, message, active_user_ids):
                 if webhook_url:
                 if webhook_url:
                     post_webhook(
                     post_webhook(
                         webhook_url,
                         webhook_url,
-                        f"#{channel.name} - {WEBUI_URL}/c/{channel.id}\n\n{message.content}",
+                        f"#{channel.name} - {WEBUI_URL}/channels/{channel.id}\n\n{message.content}",
                         {
                         {
                             "action": "channel",
                             "action": "channel",
                             "message": message.content,
                             "message": message.content,
                             "title": channel.name,
                             "title": channel.name,
-                            "url": f"{WEBUI_URL}/c/{channel.id}",
+                            "url": f"{WEBUI_URL}/channels/{channel.id}",
                         },
                         },
                     )
                     )