fix: KtorのHTTP Signature Pluginを追加

This commit is contained in:
usbharu 2023-04-10 02:39:53 +09:00
parent d6316ae107
commit 5fa2e8871d
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ fun Application.parent() {
logger = Logger.DEFAULT logger = Logger.DEFAULT
level = LogLevel.ALL level = LogLevel.ALL
} }
install(httpSignaturePlugin){
keyMap = KtorKeyMap(get())
}
} }
} }
single<ActivityPubFollowService> { ActivityPubFollowServiceImpl(get(), get(), get()) } single<ActivityPubFollowService> { ActivityPubFollowServiceImpl(get(), get(), get()) }