mirror of https://github.com/usbharu/Hideout.git
feat: とりあえずinbox/outboxでokを返すように
This commit is contained in:
parent
2065c6ca9e
commit
013bf02484
|
@ -1,6 +1,8 @@
|
|||
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() {
|
||||
|
@ -8,18 +10,21 @@ fun Application.userActivityPubRouting(){
|
|||
route("/users/{name}") {
|
||||
route("/inbox") {
|
||||
get {
|
||||
|
||||
call.respond(HttpStatusCode.OK)
|
||||
}
|
||||
post {
|
||||
call.respond(HttpStatusCode.OK)
|
||||
|
||||
}
|
||||
}
|
||||
route("/outbox") {
|
||||
get {
|
||||
call.respond(HttpStatusCode.OK)
|
||||
|
||||
}
|
||||
post {
|
||||
|
||||
call.respond(HttpStatusCode.OK)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue