Refactor CORS configuration and add utility, update package.json for dev start command, and create GraphQL query/mutation files
This commit is contained in:
@@ -22,4 +22,4 @@ export class GraphqlModule {
|
||||
.apply(GraphQLValidationMiddleware) // Apply the custom middleware
|
||||
.forRoutes('graphql'); // Ensure it only applies to the /graphql endpoint
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user