mirror of
https://github.com/dalbodeule/chibot-chzzk-bot.git
synced 2025-06-09 07:18:22 +00:00
add Session flows (4x)
- fix CORS
This commit is contained in:
parent
cd2b4e0fc0
commit
8e6a8a106b
@ -52,7 +52,7 @@ val server = embeddedServer(Netty, port = 8080, ) {
|
|||||||
allowMethod(HttpMethod.Patch)
|
allowMethod(HttpMethod.Patch)
|
||||||
allowMethod(HttpMethod.Delete)
|
allowMethod(HttpMethod.Delete)
|
||||||
allowMethod(HttpMethod.Get)
|
allowMethod(HttpMethod.Get)
|
||||||
allowHost(dotenv["FRONTEND"] ?: "localhost:3000")
|
allowHost(dotenv["FRONTEND"] ?: "localhost:3000", schemes = listOf("http", "https"))
|
||||||
allowCredentials = true
|
allowCredentials = true
|
||||||
}
|
}
|
||||||
install(Sessions) {
|
install(Sessions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user