diff --git a/src/main/angular/src/environments/environment.ts b/src/main/angular/src/environments/environment.ts index 8b27d93..5e57e5d 100644 --- a/src/main/angular/src/environments/environment.ts +++ b/src/main/angular/src/environments/environment.ts @@ -1,8 +1,10 @@ +const PROD = true; + export const environment = { production: false, - host: window.location.host.split(":")[0], - port: 8080, - base: '', - secure: window.location.protocol === "https:", + host: PROD ? 'app.ph87.de' : window.location.host.split(":")[0], + port: PROD ? 443 : 8080, + base: 'Data/', + secure: PROD ? true : window.location.protocol === "https:", };