From 5fa2e8871dc483f1fda40acea3ca0219c434fa94 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Mon, 10 Apr 2023 02:39:53 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Ktor=E3=81=AEHTTP=20Signature=20Plugin?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/dev/usbharu/hideout/Application.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/dev/usbharu/hideout/Application.kt b/src/main/kotlin/dev/usbharu/hideout/Application.kt index eed69615..66b0b169 100644 --- a/src/main/kotlin/dev/usbharu/hideout/Application.kt +++ b/src/main/kotlin/dev/usbharu/hideout/Application.kt @@ -76,6 +76,9 @@ fun Application.parent() { logger = Logger.DEFAULT level = LogLevel.ALL } + install(httpSignaturePlugin){ + keyMap = KtorKeyMap(get()) + } } } single { ActivityPubFollowServiceImpl(get(), get(), get()) }