port from environment
This commit is contained in:
parent
6dc8a16c8c
commit
b1e175c7d0
|
@ -66,7 +66,7 @@ template pagination(ctx: Context, qid: int, kind: string): expr =
|
||||||
ctx["kind"] = kind
|
ctx["kind"] = kind
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
port = 5000.Port
|
port = getEnv("PORT").parseInt().Port
|
||||||
bindAddr = "0.0.0.0"
|
bindAddr = "0.0.0.0"
|
||||||
|
|
||||||
routes:
|
routes:
|
||||||
|
|
Loading…
Reference in New Issue