Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 14, 2024
1 parent 0134eee commit 4b70879
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/canyon-collect/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ importModules.push(...frontAndBackModules);
imports: [
PrismaModule,
...importModules,
ServeStaticModule.forRoot({
rootPath: join(__dirname, '..', 'public'),
exclude: ['/graphql/(.*)'],
}),
GraphQLModule.forRoot<ApolloDriverConfig>({
autoSchemaFile: 'schema.gql',
driver: ApolloDriver,
}),
// ServeStaticModule.forRoot({
// rootPath: join(__dirname, '..', 'public'),
// exclude: ['/graphql/(.*)'],
// }),
// GraphQLModule.forRoot<ApolloDriverConfig>({
// autoSchemaFile: 'schema.gql',
// driver: ApolloDriver,
// }),
],
controllers: [AppController],
providers: [AppService, AppResolver],
Expand Down

0 comments on commit 4b70879

Please sign in to comment.