diff --git a/gql.go b/gql.go index cefe4a0..e9b85b4 100644 --- a/gql.go +++ b/gql.go @@ -80,7 +80,7 @@ func GraphiQLHandler() func(http.ResponseWriter, *http.Request) { root.render( React.createElement(GraphiQL, { fetcher: GraphiQL.createFetcher({ - url: '%s/gql', + url: 'http://%s/gql', }), defaultEditorToolsVisibility: true, }),