From 49b86a28590917eebf43bce213a2e0586db58755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= <peterke@gmail.com>
Date: Tue, 10 Sep 2019 12:20:36 +0300
Subject: common, graphql: fix hash/address decoding + UI content type

---
 graphql/graphiql.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'graphql')

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)
 }
 
-- 
cgit v1.2.3