Skip to content

Commit

Permalink
chore: prod schema file change
Browse files Browse the repository at this point in the history
  • Loading branch information
apotdevin committed Jul 28, 2022
1 parent 3f52833 commit 2b036ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type JwtObjectType = {
driver: ApolloDriver,
inject: [ConfigService],
useFactory: (config: ConfigService) => ({
autoSchemaFile: 'schema.gql',
autoSchemaFile: config.get('isProduction') ? true : 'schema.gql',
sortSchema: true,
playground: config.get('playground'),
introspection: config.get('playground'),
Expand Down

0 comments on commit 2b036ab

Please sign in to comment.