Skip to content

Commit

Permalink
Update playground.go
Browse files Browse the repository at this point in the history
fix formatting
  • Loading branch information
qhenkart authored Sep 16, 2019
1 parent 2738995 commit ee8d7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/playground.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var page = template.Must(template.New("graphiql").Parse(`<!DOCTYPE html>
GraphQLPlayground.init(root, {
endpoint: location.protocol + '//' + location.host + '{{.endpoint}}',
subscriptionsEndpoint: wsProto + '//' + location.host + '{{.endpoint }}',
shareEnabled: true,
shareEnabled: true,
settings: {
'request.credentials': 'same-origin'
}
Expand Down

0 comments on commit ee8d7a1

Please sign in to comment.