add response text

This commit is contained in:
nelle 2024-09-16 01:48:32 -06:00
parent 4f934489d3
commit 236d0fb7bd

View file

@ -53,6 +53,7 @@ fun Application.configureRouting(client: HttpClient) {
if (call.receiveText() == Config().superSecret) { if (call.receiveText() == Config().superSecret) {
call.response.status(HttpStatusCode(201, "Meow Posted")) call.response.status(HttpStatusCode(201, "Meow Posted"))
makePost(client, getMeow(), Config().instanceDomain) makePost(client, getMeow(), Config().instanceDomain)
call.respondText("meowed with bypass")
logger.info { "meowed with bypass" } logger.info { "meowed with bypass" }
} else { } else {
if (meowTimedOut) { if (meowTimedOut) {