about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-20 16:57:08 +0200
committerEmile <hanemile@protonmail.com>2019-10-20 16:57:08 +0200
commit7506d88e8e8a6a5e118473963f671429a532a71c (patch)
treee220bceb7819538f75da88e2416b207f22b62101 /src
parent115145833a532145f047b37d3b661ae1a4f81881 (diff)
ctfname env var
Diffstat (limited to 'src')
-rw-r--r--src/http.go1
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)