test environment against prod

This commit is contained in:
Patrick Haßel 2024-12-30 12:55:43 +01:00
parent 1ee3215c91
commit c64449cda1

View File

@ -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:",
};