From 49ba4445344104d4377782ae1d3706be8940698f Mon Sep 17 00:00:00 2001 From: nickschneider Date: Sun, 27 Oct 2024 19:43:57 +0100 Subject: [PATCH] wrong import --- src/app/app.component.ts | 3 --- src/app/services/chatbot.service.ts | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d47da3f..8a67268 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -3,9 +3,6 @@ import { RouterOutlet } from '@angular/router'; import { ChatComponent } from './chat/chat.component'; import { ChatbotService } from './services/chatbot.service'; import { HttpClientModule } from '@angular/common/http'; -import { environment } from '../environments/environment'; - -console.log('Current environment:', environment.production ? 'production' : 'development'); @Component({ selector: 'app-root', diff --git a/src/app/services/chatbot.service.ts b/src/app/services/chatbot.service.ts index 599da4b..964d709 100644 --- a/src/app/services/chatbot.service.ts +++ b/src/app/services/chatbot.service.ts @@ -2,7 +2,7 @@ import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { ChatMessage } from '../chat/chat.component'; import { Observable } from 'rxjs'; -import { environment } from '../../environments/environment.development'; +import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root'