From cb93b29193ed9c80993b83f15613ac8612472470 Mon Sep 17 00:00:00 2001 From: Sajjad Shirazy Date: Sat, 18 Jul 2020 17:26:56 +0430 Subject: [PATCH] fix: . --- src/api/GraphQLAPI.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/GraphQLAPI.ts b/src/api/GraphQLAPI.ts index 0ae79a5..2a8c797 100644 --- a/src/api/GraphQLAPI.ts +++ b/src/api/GraphQLAPI.ts @@ -23,6 +23,7 @@ export class GraphQLAPI { private readonly defaultConfig: GraphQLAPIConfig = { deaf: false, port: 3000, + path: '/graphql', authentication: undefined, upload: { maxFileSize: 64, //MB @@ -101,7 +102,7 @@ export class GraphQLAPI { }, }; if (this.config.deaf) { - const server = await this.server.createHttpServer(options); + await this.server.createHttpServer(options); log(`Server is running on deaf mod. see documentation for more info;`); } else { // runMiddleware(this.server.express);