port from environment

This commit is contained in:
Christine Dodrill 2016-02-05 21:33:47 -08:00
parent 6dc8a16c8c
commit b1e175c7d0
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ template pagination(ctx: Context, qid: int, kind: string): expr =
ctx["kind"] = kind
settings:
port = 5000.Port
port = getEnv("PORT").parseInt().Port
bindAddr = "0.0.0.0"
routes: