diff options
author | Emile <hanemile@protonmail.com> | 2019-10-20 16:57:08 +0200 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2019-10-20 16:57:08 +0200 |
commit | 7506d88e8e8a6a5e118473963f671429a532a71c (patch) | |
tree | e220bceb7819538f75da88e2416b207f22b62101 /src | |
parent | 115145833a532145f047b37d3b661ae1a4f81881 (diff) |
ctfname env var
Diffstat (limited to 'src')
-rw-r--r-- | src/http.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http.go b/src/http.go index 248eea4..f09f0bb 100644 --- a/src/http.go +++ b/src/http.go @@ -50,6 +50,7 @@ func indexHandler(w http.ResponseWriter, r *http.Request) { content := Content{ Hostname: os.Getenv("HOSTNAME"), + CTFName: os.Getenv("CTFNAME"), } t.ExecuteTemplate(w, "index", content) |