diff --git a/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt b/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt index 3d08cffb..41f85d63 100644 --- a/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt +++ b/src/main/kotlin/dev/usbharu/hideout/routing/userActivityPubRouting.kt @@ -1,25 +1,30 @@ package dev.usbharu.hideout.routing +import io.ktor.http.* import io.ktor.server.application.* +import io.ktor.server.response.* import io.ktor.server.routing.* -fun Application.userActivityPubRouting(){ +fun Application.userActivityPubRouting() { routing { route("/users/{name}") { - route("/inbox"){ + route("/inbox") { get { - + call.respond(HttpStatusCode.OK) } post { + call.respond(HttpStatusCode.OK) } } route("/outbox") { get { + call.respond(HttpStatusCode.OK) } post { + call.respond(HttpStatusCode.OK) } } }