mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
add Session flows (3x)
- fix CORS
This commit is contained in:
parent
9879fafa25
commit
cd2b4e0fc0
@ -53,6 +53,7 @@ val server = embeddedServer(Netty, port = 8080, ) {
|
||||
allowMethod(HttpMethod.Delete)
|
||||
allowMethod(HttpMethod.Get)
|
||||
allowHost(dotenv["FRONTEND"] ?: "localhost:3000")
|
||||
allowCredentials = true
|
||||
}
|
||||
install(Sessions) {
|
||||
cookie<UserSession>("user_session", storage = SessionStorageMemory()) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user