Skip to content

Commit

Permalink
refactor(graphql): change default graphql endpoint path
Browse files Browse the repository at this point in the history
  • Loading branch information
async3619 committed Apr 5, 2023
1 parent f8320c6 commit cbcdbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { TRPCServerModule } from "@trpc-server/trpc-server.module";
useFactory: async (configData: ConfigData) => ({
playground: process.env.NODE_ENV === "development",
autoSchemaFile: path.join(process.cwd(), "schema.graphqls"),
path: configData?.servers?.graphql?.path || "/",
path: configData?.servers?.graphql?.path || "/graphql",
}),
}),
TRPCServerModule,
Expand Down

0 comments on commit cbcdbc3

Please sign in to comment.