Skip to content

Commit 7b5395c

Browse files
authored
fix: GraphQL playground shows blank page (#9858)
1 parent 82fdb0d commit 7b5395c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/GraphQL/ParseGraphQLServer.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,14 @@ class ParseGraphQLServer {
167167
new window.EmbeddedSandbox({
168168
target: "#sandbox",
169169
endpointIsEditable: false,
170-
initialEndpoint: "${JSON.stringify(this.config.graphQLPath)}",
170+
initialEndpoint: ${JSON.stringify(this.config.graphQLPath)},
171171
handleRequest: (endpointUrl, options) => {
172172
return fetch(endpointUrl, {
173173
...options,
174174
headers: {
175175
...options.headers,
176-
'X-Parse-Application-Id': "${JSON.stringify(this.parseServer.config.appId)}",
177-
'X-Parse-Master-Key': "${JSON.stringify(this.parseServer.config.masterKey)}",
176+
'X-Parse-Application-Id': ${JSON.stringify(this.parseServer.config.appId)},
177+
'X-Parse-Master-Key': ${JSON.stringify(this.parseServer.config.masterKey)},
178178
},
179179
})
180180
},

0 commit comments

Comments
 (0)