aboutsummaryrefslogtreecommitdiffstats
path: root/graphql
diff options
context:
space:
mode:
Diffstat (limited to 'graphql')
-rw-r--r--graphql/graphiql.go2
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)
}