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 = { export const environment = {
production: false, production: false,
host: window.location.host.split(":")[0], host: PROD ? 'app.ph87.de' : window.location.host.split(":")[0],
port: 8080, port: PROD ? 443 : 8080,
base: '', base: 'Data/',
secure: window.location.protocol === "https:", secure: PROD ? true : window.location.protocol === "https:",
}; };