From 838e5d257af4733a22e7c9d5a4742f6cd2a6abb3 Mon Sep 17 00:00:00 2001 From: marknguyen1302 Date: Fri, 2 Aug 2024 15:37:40 +0700 Subject: [PATCH] fix: disable devtool --- cortex-js/src/app.module.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cortex-js/src/app.module.ts b/cortex-js/src/app.module.ts index f2b7f5b4c..e7f8d6698 100644 --- a/cortex-js/src/app.module.ts +++ b/cortex-js/src/app.module.ts @@ -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'; @@ -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',