This website works better with JavaScript.
Home
Explore
Help
Sign In
JustAnotherArchivist
/
transfer.sh
forked from
kiska/transfer.sh
Watch
1
Star
0
Fork
1
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
FIX MISSING TEMPLATE DATA
tags/v1.0.0
Andrea Spacca
5 years ago
parent
d2c8b85b15
commit
64344fcf4d
1 changed files
with
5 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-3
server/handlers.go
+ 5
- 3
server/handlers.go
View File
@@ -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) {
Write
Preview
Loading…
Cancel
Save