mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
docs: update readme.md
This commit is contained in:
@@ -186,7 +186,15 @@ class WebChannel(ChatChannel):
|
||||
return f.read()
|
||||
|
||||
def startup(self):
|
||||
print("\nWeb Channel is running, please visit http://localhost:9899/chat")
|
||||
logger.info("""[WebChannel] 当前channel为web,可修改 config.json 配置文件中的 channel_type 字段进行切换。全部可用类型为:
|
||||
1. web: 网页
|
||||
2. terminal: 终端
|
||||
3. wechatmp: 个人公众号
|
||||
4. wechatmp_service: 企业公众号
|
||||
5. wechatcom_app: 企微自建应用
|
||||
6. dingtalk: 钉钉
|
||||
7. feishu: 飞书""")
|
||||
logger.info("Web对话网页已运行, 请使用浏览器访问 http://localhost:9899/chat")
|
||||
|
||||
# 确保静态文件目录存在
|
||||
static_dir = os.path.join(os.path.dirname(__file__), 'static')
|
||||
|
||||
Reference in New Issue
Block a user