Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
JustAnotherArchivist
/
transfer.sh
feito fork de
kiska/transfer.sh
Observar
1
Favorito
0
Fork
1
Código
Issues
0
Pull requests
0
Versões
0
Wiki
Atividade
Ver código fonte
FIX MISSING TEMPLATE DATA
tags/v1.0.0
Andrea Spacca
5 anos atrás
pai
d2c8b85b15
commit
64344fcf4d
1 arquivos alterados
com
5 adições
e
3 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+5
-3
server/handlers.go
+ 5
- 3
server/handlers.go
Ver arquivo
@@ -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) {
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar