📝 在文档和log中强调bison网页后台网址不能直接访问,并优化部分文档的表达 (#235)

This commit is contained in:
AzideCupric
2023-04-12 10:49:58 +08:00
committed by GitHub
parent acd7fb1485
commit ce950ac4ab
3 changed files with 99 additions and 23 deletions
+2 -1
View File
@@ -63,9 +63,10 @@ def init_fastapi():
if host in ["0.0.0.0", "127.0.0.1"]:
host = "localhost"
logger.opt(colors=True).info(
f"Nonebot test frontend will be running at: "
f"Nonebot Bison frontend will be running at: "
f"<b><u>http://{host}:{port}/bison</u></b>"
)
logger.opt(colors=True).info(f"该页面不能被直接访问,请私聊bot <b><u>后台管理</u></b> 以获取可访问地址")
def register_get_token_handler():