Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 15, 2024
1 parent 8783ade commit d23de94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
10 changes: 3 additions & 7 deletions packages/canyon-collect/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { PrismaModule } from './prisma/prisma.module';
import { CollectModule } from './apps/collect/collect.module';
import { join } from 'path';
import { ApolloDriver, ApolloDriverConfig } from '@nestjs/apollo';
import { GraphQLModule } from '@nestjs/graphql';
// import { GraphQLModule } from '@nestjs/graphql';
import { ServeStaticModule } from '@nestjs/serve-static';
import { ProjectModule } from './apps/project/project.module';
import { AppResolver } from './app.resolver';
// import { AppResolver } from './app.resolver';
import { CovModule } from './apps/cov/cov.module';
// mode:collect、frontAndBack

Expand All @@ -31,12 +31,8 @@ importModules.push(...frontAndBackModules);
rootPath: join(__dirname, '..', 'public'),
exclude: ['/graphql/(.*)'],
}),
GraphQLModule.forRoot<ApolloDriverConfig>({
autoSchemaFile: 'schema.gql',
driver: ApolloDriver,
}),
],
controllers: [AppController],
providers: [AppService, AppResolver],
providers: [AppService],
})
export class AppModule {}
26 changes: 0 additions & 26 deletions packages/canyon-collect/src/app.resolver.ts

This file was deleted.

0 comments on commit d23de94

Please sign in to comment.