diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-09-10 18:33:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-10 18:33:01 +0800 |
commit | 4f6bf2f1c56c0a44455036dda11d5b186962f8ab (patch) | |
tree | c308de92032c42daca438e5b0632b69f5a93ae65 /graphql | |
parent | cea2c804450fa1a6ff36b6a883085d60bf906de6 (diff) | |
parent | 49b86a28590917eebf43bce213a2e0586db58755 (diff) | |
download | go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar.gz go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar.bz2 go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar.lz go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar.xz go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.tar.zst go-tangerine-4f6bf2f1c56c0a44455036dda11d5b186962f8ab.zip |
Merge pull request #20046 from karalabe/graphql-fix-web-and-decoding
common, graphql: fix hash/address decoding + UI content type
Diffstat (limited to 'graphql')
-rw-r--r-- | graphql/graphiql.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/graphiql.go b/graphql/graphiql.go index 483d4cea3..864ebf57d 100644 --- a/graphql/graphiql.go +++ b/graphql/graphiql.go @@ -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) } |