final-cleanup: Produktionsfertige Konfiguration - Alle Ports auf 443 vereinheitlicht, TLS-Zertifikate vorgeneriert, Zentraler Installer erstellt

This commit is contained in:
2025-05-26 22:16:22 +02:00
parent 7aa70cf976
commit f719f74195
40 changed files with 598 additions and 11815 deletions

View File

@@ -16,31 +16,16 @@ const getApiBaseUrl = () => {
// Verbindungsoptionen in Prioritätsreihenfolge
return {
primary: `https://${hostname}:443`,
primary: `https://${hostname}`,
fallbacks: [
`http://${hostname}:443`,
`https://${hostname}:80`,
`http://${hostname}:80`,
`https://${hostname}:5000`,
`http://${hostname}:5000`,
`https://raspberrypi:443`,
`http://raspberrypi:443`,
`https://raspberrypi:80`,
`http://raspberrypi:80`,
`https://raspberrypi:5000`,
`http://raspberrypi:5000`,
`https://192.168.0.105:443`,
`http://192.168.0.105:443`,
`https://192.168.0.105:80`,
`http://192.168.0.105:80`,
`https://192.168.0.105:5000`,
`http://192.168.0.105:5000`,
`https://raspberrypi`,
`https://192.168.0.105`,
]
};
}
// Standardwert für serverseitiges Rendering
return `https://raspberrypi:443`;
return `https://raspberrypi`;
};
export const API_BASE_URL = getApiBaseUrl();
@@ -63,8 +48,8 @@ const getFrontendUrl = () => {
}
}
// Priorität 3: Default für Localhost
return "https://localhost:3000";
// Priorität 3: Default für Localhost (development)
return "https://m040tbaraspi001.de040.corpintra.net";
};
export const FRONTEND_URL = getFrontendUrl();