Skip to content

Commit 116d5ea

Browse files
committed
fix: logout handler
1 parent bd13203 commit 116d5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class AppServer {
102102
"GET /api/file": getFileHandler.bind(this),
103103

104104
"POST /api/auth": this.config.auth.handler,
105-
"POST /api/logout": this.config.auth.handler,
105+
"POST /api/logout": this.config.auth.logoutHandler,
106106
"POST /api/chat": createChatHandler.bind(this),
107107
"POST /api/message": sendMessageHandler.bind(this),
108108
"POST /api/file": uploadFileHandler.bind(this),

0 commit comments

Comments
 (0)