common, graphql: fix hash/address decoding + UI content type

This commit is contained in:
Péter Szilágyi
2019-09-10 12:20:36 +03:00
parent cea2c80445
commit 49b86a2859
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ func (h GraphiQL) ServeHTTP(w http.ResponseWriter, r *http.Request) {
respond(w, errorJSON("only GET requests are supported"), http.StatusMethodNotAllowed)
return
}
w.Header().Set("Content-Type", "text/html")
w.Write(graphiql)
}