Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
JustAnotherArchivist
/
transfer.sh
forkato da
kiska/transfer.sh
Segui
1
Vota
0
Forka
1
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
FIX MISSING TEMPLATE DATA
tags/v1.0.0
Andrea Spacca
5 anni fa
parent
d2c8b85b15
commit
64344fcf4d
1 ha cambiato i file
con
5 aggiunte
e
3 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+5
-3
server/handlers.go
+ 5
- 3
server/handlers.go
Vedi 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) {
Scrivi
Anteprima
Caricamento…
Annulla
Salva