add response text
This commit is contained in:
parent
4f934489d3
commit
236d0fb7bd
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue