mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-08-08 05:11:12 +00:00
[hotfix] fixed logout redirect and removed unused debug print.
This commit is contained in:
@@ -228,8 +228,7 @@ val server = embeddedServer(Netty, port = 8080, ) {
|
||||
// common: logout
|
||||
get("/logout") {
|
||||
call.sessions.clear<UserSession>()
|
||||
call.response.status(HttpStatusCode.OK)
|
||||
return@get
|
||||
call.respondRedirect(getFrontendURL(""))
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user