Skip to content

Commit a0338d2

Browse files
committed
fix: playground path
1 parent 283de20 commit a0338d2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lib/GraphQL/ParseGraphQLServer.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "parse-server",
3-
"version": "7.1.0-alpha.6.moumouls",
3+
"version": "7.1.0-alpha.6.moumouls.1",
44
"description": "An express module providing a Parse-compatible API server",
55
"main": "lib/index.js",
66
"repository": {

src/GraphQL/ParseGraphQLServer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class ParseGraphQLServer {
132132

133133
app.get(
134134
this.config.playgroundPath ||
135-
requiredParameter('You must provide a config.playgroundPath to applyPlayground!'),
135+
requiredParameter('You must provide a config.playgroundPath to applyPlayground!'),
136136
(_req, res) => {
137137
res.setHeader('Content-Type', 'text/html');
138138
res.write(
@@ -142,7 +142,7 @@ class ParseGraphQLServer {
142142
new window.EmbeddedSandbox({
143143
target: "#sandbox",
144144
endpointIsEditable: false,
145-
initialEndpoint: "${JSON.stringify(this.config.graphQLPath)}",
145+
initialEndpoint: ${JSON.stringify(this.config.graphQLPath)},
146146
handleRequest: (endpointUrl, options) => {
147147
return fetch(endpointUrl, {
148148
...options,

0 commit comments

Comments
 (0)