Skip to content

Commit

Permalink
fix: disable devtool (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
marknguyen1302 authored Aug 2, 2024
1 parent d5b8a55 commit f206f31
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cortex-js/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { MiddlewareConsumer, Module, NestModule } from '@nestjs/common';
import { MessagesModule } from './usecases/messages/messages.module';
import { ThreadsModule } from './usecases/threads/threads.module';
import { ModelsModule } from './usecases/models/models.module';
import { DevtoolsModule } from '@nestjs/devtools-integration';
import { DatabaseModule } from './infrastructure/database/database.module';
import { ChatModule } from './usecases/chat/chat.module';
import { AssistantsModule } from './usecases/assistants/assistants.module';
Expand Down Expand Up @@ -32,9 +31,6 @@ import { ResourceManagerModule } from './infrastructure/services/resources-manag

@Module({
imports: [
DevtoolsModule.register({
http: env.NODE_ENV !== 'production',
}),
ConfigModule.forRoot({
isGlobal: true,
envFilePath: env.NODE_ENV !== 'production' ? '.env.development' : '.env',
Expand Down

0 comments on commit f206f31

Please sign in to comment.