Move docker podman question and add hybird question

Allow empty config

Continue to adjust config for hybrid
This commit is contained in:
Owen
2025-08-20 10:26:32 -07:00
parent 2907f22200
commit 907dab7d05
9 changed files with 207 additions and 116 deletions

View File

@@ -24,8 +24,8 @@ export const SESSION_COOKIE_EXPIRES =
60 *
60 *
config.getRawConfig().server.dashboard_session_length_hours;
export const COOKIE_DOMAIN =
"." + new URL(config.getRawConfig().app.dashboard_url).hostname;
export const COOKIE_DOMAIN = config.getRawConfig().app.dashboard_url ?
"." + new URL(config.getRawConfig().app.dashboard_url!).hostname : undefined;
export function generateSessionToken(): string {
const bytes = new Uint8Array(20);