Skip to content

Commit

Permalink
fix: .
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaenezhad committed Jul 18, 2020
1 parent 495a57b commit cb93b29
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/GraphQLAPI.ts
Expand Up @@ -23,6 +23,7 @@ export class GraphQLAPI {
private readonly defaultConfig: GraphQLAPIConfig = {
deaf: false,
port: 3000,
path: '/graphql',
authentication: undefined,
upload: {
maxFileSize: 64, //MB
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit cb93b29

Please sign in to comment.