From 64344fcf4dbb8e3065f03803eec6b1c2bf407b61 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Sat, 15 Dec 2018 21:42:18 +0100 Subject: [PATCH] FIX MISSING TEMPLATE DATA --- server/handlers.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/handlers.go b/server/handlers.go index ec4c8b6..d426cb5 100644 --- a/server/handlers.go +++ b/server/handlers.go @@ -204,13 +204,15 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) { webAddress := resolveWebAddress(r) data := struct { - Hostname string - WebAddress string - GAKey string + Hostname string + WebAddress string + GAKey string + UserVoiceKey string }{ hostname, webAddress, s.gaKey, + s.userVoiceKey, } if acceptsHTML(r.Header) {