mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
gofmt
This commit is contained in:
parent
ce09f5593d
commit
016d464043
2 changed files with 6 additions and 6 deletions
|
|
@ -107,7 +107,7 @@ func (t *httpReadWriteNopCloser) Close() error {
|
|||
func newJSONHTTPHandler(srv *Server) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if r.URL.Path == "/authorization.html"{
|
||||
if r.URL.Path == "/authorization.html" {
|
||||
w.Header().Set("Content-Type", "text/html; charset=utf-8")
|
||||
if _, err := w.Write([]byte(embed.AuthorizationHTML)); err != nil {
|
||||
fmt.Fprintf(w, "%s", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue