feat: 聊天页优化 — 欢迎页、标题自动生成、消息操作
This commit is contained in:
@@ -160,7 +160,7 @@ export function startServer(options: StartServerOptions) {
|
||||
POST: withErrorHandler(
|
||||
async (req) => {
|
||||
const { handleSendChat } = await import("./routes/chat/send");
|
||||
return handleSendChat(req, db, mode);
|
||||
return handleSendChat(req, db, mode, logger);
|
||||
},
|
||||
mode,
|
||||
logger,
|
||||
|
||||
Reference in New Issue
Block a user