mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-13 06:53:19 -05:00
Use port number from config file (fixes regression)
Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
parent
46012b2ce3
commit
d2ef8c5259
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user