1
0
mirror of https://github.com/dutchcoders/transfer.sh.git synced 2020-11-18 19:53:40 -08:00

FIX MISSING TEMPLATE DATA

This commit is contained in:
Andrea Spacca 2018-12-15 21:42:18 +01:00
parent d2c8b85b15
commit 64344fcf4d

View File

@ -207,10 +207,12 @@ func (s *Server) viewHandler(w http.ResponseWriter, r *http.Request) {
Hostname string
WebAddress string
GAKey string
UserVoiceKey string
}{
hostname,
webAddress,
s.gaKey,
s.userVoiceKey,
}
if acceptsHTML(r.Header) {