Skip to content

Commit

Permalink
Change port
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Nov 30, 2019
1 parent f672cdc commit 8f92d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shellgei_web_server/src/shellgei_web_server.nim
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ router myrouter:
resp %*{"stdout":outp, "stderr":"", "images":images}

proc main =
var port = getEnv("API_PORT", "8080").parseInt().Port
var port = getEnv("SHELLGEI_WEB_PORT", "5000").parseInt().Port
var settings = newSettings(port = port)
var jester = initJester(myrouter, settings = settings)
jester.serve()
Expand Down

0 comments on commit 8f92d8a

Please sign in to comment.