Skip to content

Commit 630e0ec

Browse files
committed
Improving the way that the headers are passed to the playground
1 parent 6fefdc8 commit 630e0ec

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

src/GraphQL/ParseGraphQLServer.js

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,10 @@ class ParseGraphQLServer {
7676
renderPlaygroundPage({
7777
endpoint: this.config.graphQLPath,
7878
subscriptionEndpoint: this.config.subscriptionsPath,
79-
tabs: [
80-
{
81-
endpoint: this.config.graphQLPath,
82-
query: `query {
83-
health
84-
}`,
85-
headers: {
86-
'X-Parse-Application-Id': this.parseServer.config.appId,
87-
'X-Parse-Master-Key': this.parseServer.config.masterKey,
88-
},
89-
},
90-
],
79+
headers: {
80+
'X-Parse-Application-Id': this.parseServer.config.appId,
81+
'X-Parse-Master-Key': this.parseServer.config.masterKey,
82+
},
9183
})
9284
);
9385
res.end();

0 commit comments

Comments
 (0)