main
Ermis Wieger 2024-08-16 11:16:56 +02:00
parent 035ebaf6a7
commit 2a3f326b84
4 changed files with 6 additions and 17 deletions

View File

@ -1,10 +1,4 @@
import { InjectionToken } from '@angular/core' import { InjectionToken } from '@angular/core'
import { AppConfig } from 'src/environments/models/environment.model' import { AppConfig } from 'src/environments/models/environment.model'
// export class AppConfig {
// serviceUrl: string
// someSecret: string
// toggle1: boolean
// }
export let APP_CONFIG = new InjectionToken<AppConfig>('APP_CONFIG') export let APP_CONFIG = new InjectionToken<AppConfig>('APP_CONFIG')

View File

@ -2,6 +2,6 @@ import { AppConfig } from './models/environment.model';
export const environment: AppConfig = { export const environment: AppConfig = {
production: true, production: true,
rssoUrl: "{{ $rssoUrl }}", rssoUrl: "RSSO_URL",
backendUrl: "{{ $backendUrl }}" backendUrl: "BACKEND_API_URL"
}; };

View File

@ -1,7 +0,0 @@
import { AppConfig } from './models/environment.model';
export const environment: AppConfig = {
production: false,
rssoUrl: "sadasdsadsadasd",
backendUrl: "http://localhost:8080/api"
};

View File

@ -1,7 +1,9 @@
import { AppConfig } from './models/environment.model'; import { AppConfig } from './models/environment.model';
export const environment: AppConfig = { export const environment: AppConfig = {
production: false, production: false,
rssoUrl: "http://orf.at", rssoUrl: "#",
backendUrl: "http://localhost:8080/api" backendUrl: "http://localhost:8080/api"
}; };