Ver código fonte

Add newline between URLs for multi-upload (#156)

tags/v1.0.0
Lee Burton 5 anos atrás
committed by Andrea Spacca
pai
commit
fb32a2a85a
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      server/handlers.go

+ 1
- 1
server/handlers.go Ver arquivo

@@ -300,7 +300,7 @@ func (s *Server) postHandler(w http.ResponseWriter, r *http.Request) {
}

relativeURL, _ := url.Parse(path.Join(token, filename))
fmt.Fprint(w, getURL(r).ResolveReference(relativeURL).String())
fmt.Fprintln(w, getURL(r).ResolveReference(relativeURL).String())
}
}
}


Carregando…
Cancelar
Salvar