From db6ec47ce7325945ca45e2693f7ce95f8041e0c2 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Mon, 20 Jan 2025 08:07:47 +0100 Subject: [PATCH] chore: update environment imports for consistency --- src/app/login/login.component.ts | 2 +- src/app/service/auth.service.ts | 2 +- src/app/service/link.service.ts | 2 +- src/environments/environment.ts | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/login/login.component.ts b/src/app/login/login.component.ts index 172a8e2..b933ddb 100644 --- a/src/app/login/login.component.ts +++ b/src/app/login/login.component.ts @@ -1,7 +1,7 @@ import { Component } from '@angular/core'; import { FormControl, FormGroup, ReactiveFormsModule } from '@angular/forms'; import PocketBase from 'pocketbase'; -import { environment } from '../../environments/environment.development'; +import { environment } from '../../environments/environment'; import { Router } from '@angular/router'; @Component({ diff --git a/src/app/service/auth.service.ts b/src/app/service/auth.service.ts index 4351acb..5181a8f 100644 --- a/src/app/service/auth.service.ts +++ b/src/app/service/auth.service.ts @@ -8,7 +8,7 @@ import { RouterStateSnapshot } from '@angular/router'; import PocketBase from 'pocketbase'; -import { environment } from '../../environments/environment.development'; +import { environment } from '../../environments/environment'; @Injectable({ providedIn: 'root' diff --git a/src/app/service/link.service.ts b/src/app/service/link.service.ts index 8b4a4ea..51eb8d8 100644 --- a/src/app/service/link.service.ts +++ b/src/app/service/link.service.ts @@ -1,5 +1,5 @@ import { Injectable } from "@angular/core"; -import { environment } from "../../environments/environment.development"; +import { environment } from "../../environments/environment"; import PocketBase, { RecordModel } from 'pocketbase'; diff --git a/src/environments/environment.ts b/src/environments/environment.ts index f274e5e..1ef1662 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1 +1,3 @@ -export const environment = {}; +export const environment = { + POCKETBASE: 'http://pocketbase-yocs0oko0o8cws44kw8gk8g8.192.168.178.105.sslip.io/' +};