From 4fbcdbe2a6057ba0708b930fc6193b8629409dc9 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Wed, 11 Sep 2019 10:47:29 -0400 Subject: [PATCH] GIN_MODE=release --- .gitignore | 2 ++ Procfile | 2 +- main.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index e69de29..4ee768a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +# binary from running `go build` +npqueue diff --git a/Procfile b/Procfile index 3933f1b..5298920 100644 --- a/Procfile +++ b/Procfile @@ -1 +1 @@ -web: npqueue +web: GIN_MODE=release npqueue diff --git a/main.go b/main.go index a9d4299..32c03e3 100644 --- a/main.go +++ b/main.go @@ -144,7 +144,7 @@ func parsePlayers() (err error) { } func loadPlayersJSON() (err error) { - jsonFile, err := jsonGet.Get("https://github.com/jakejarvis/npqueue/raw/master/directory.json") + jsonFile, err := jsonGet.Get("https://raw.githubusercontent.com/jakejarvis/npqueue/master/directory.json") if err != nil { return }