mirror of https://github.com/usbharu/Hideout.git
feat: とりあえずinbox/outboxでokを返すように
This commit is contained in:
parent
2065c6ca9e
commit
013bf02484
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue