From cbcdbc34618a25ee944994dc866534edff49dd3c Mon Sep 17 00:00:00 2001 From: Sophia Date: Thu, 6 Apr 2023 08:38:03 +0900 Subject: [PATCH] refactor(graphql): change default graphql endpoint path --- src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index 36f9d04..94f6064 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -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,