We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bece7a6 commit 6729ebcCopy full SHA for 6729ebc
graphcoolPlayground.go
@@ -24,7 +24,7 @@ func renderPlayground(w http.ResponseWriter, r *http.Request) {
24
25
d := playgroundData{
26
PlaygroundVersion: graphcoolPlaygroundVersion,
27
- Endpoint: "/graphql",
+ Endpoint: r.URL.Path,
28
SubscriptionEndpoint: fmt.Sprintf("ws://%v/subscriptions", r.Host),
29
SetTitle: true,
30
}
0 commit comments