From 3c115f35bdb37478115c8ada3dd965df0da8d854 Mon Sep 17 00:00:00 2001 From: Myle Date: Mon, 21 Sep 2026 18:28:04 +0300 Subject: [PATCH] update app module --- src/app.module.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app.module.ts b/src/app.module.ts index b17af28..6fe1496 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -1,6 +1,7 @@ import { Module } from '@nestjs/common'; import { GraphQLModule } from '@nestjs/graphql'; import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo'; +import { ApolloServerPluginLandingPageLocalDefault } from '@apollo/server/plugin/landingPage/default'; import { PrismaModule } from './prisma/prisma.module.js'; import { ProfileModule } from './profile/profile.module.js'; @@ -10,6 +11,12 @@ import { ProfileModule } from './profile/profile.module.js'; GraphQLModule.forRoot({ driver: ApolloDriver, autoSchemaFile: true, + introspection: true, + plugins: [ + ApolloServerPluginLandingPageLocalDefault({ + embed: true, + }), + ], }), PrismaModule,