feat: Initialize Angular SSR application with core pages, components, and server setup.

This commit is contained in:
Timo
2026-01-03 12:53:37 +01:00
parent 0ac17ef155
commit b52e47b653
28 changed files with 1115 additions and 461 deletions

View File

@@ -1,4 +1,5 @@
export const hostname = window.location.hostname;
// SSR-safe: check if window exists (it doesn't on server-side)
const hostname = typeof window !== 'undefined' ? window.location.hostname : 'localhost';
export const environment_base = {
// apiBaseUrl: 'http://localhost:3000',
apiBaseUrl: `http://${hostname}:4200`,