Skip to content

Commit

Permalink
Update http.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafnanc authored Aug 6, 2024
1 parent 486bcaf commit 35afe38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/core/services/http/http.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { AlertController, ModalController } from '@ionic/angular';
import { FeedbackPage } from 'src/app/pages/feedback/feedback.page';
import { CapacitorHttp } from '@capacitor/core';
import { TranslateService } from '@ngx-translate/core';
import { environment } from 'src/environments/environment';


@Injectable({
Expand All @@ -35,7 +36,7 @@ export class HttpService {
private translate: TranslateService,
private alert: AlertController,
) {
this.baseUrl = window['env']['baseUrl'];
this.baseUrl = environment['baseUrl'];
}

async setHeaders() {
Expand Down

0 comments on commit 35afe38

Please sign in to comment.