From d2ef8c52596dfea3f3d78288c07b03dea6d05d22 Mon Sep 17 00:00:00 2001 From: hrj Date: Mon, 19 Apr 2021 15:07:12 +0530 Subject: [PATCH] Use port number from config file (fixes regression) Signed-off-by: hrj --- src/main/scala/lc/server/Server.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/lc/server/Server.scala b/src/main/scala/lc/server/Server.scala index cd7995d..efc3d33 100644 --- a/src/main/scala/lc/server/Server.scala +++ b/src/main/scala/lc/server/Server.scala @@ -12,7 +12,7 @@ import org.limium.picoserve.Server.StringResponse class Server(port: Int) { val server: picoserve.Server = picoserve.Server.builder() - .port(8888) + .port(port) .backlog(32) .POST("/v1/captcha", (request) => { val json = parse(request.getBodyString())