diff --git a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/Main.kt b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/Main.kt index 764b428..41d9e83 100644 --- a/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/Main.kt +++ b/webserver/src/main/kotlin/space/mori/chzzk_bot/webserver/Main.kt @@ -124,6 +124,7 @@ val server = embeddedServer(Netty, port = 8080, ) { allowMethod(HttpMethod.Options) allowMethod(HttpMethod.Put) allowMethod(HttpMethod.Patch) + allowMethod(HttpMethod.Post) allowMethod(HttpMethod.Delete) allowMethod(HttpMethod.Get) allowHost(dotenv["FRONTEND"] ?: "localhost:3000", schemes=listOf("https"))