From 66722cb0e9448b17d3f3d5518fac2f026b3733b9 Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Thu, 12 Dec 2024 23:15:26 +0530 Subject: [PATCH] fix: 500 error when visiting hibernating projects (#6263) --- web-admin/src/routes/+layout.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-admin/src/routes/+layout.ts b/web-admin/src/routes/+layout.ts index 2c3542e68ca..e692c242926 100644 --- a/web-admin/src/routes/+layout.ts +++ b/web-admin/src/routes/+layout.ts @@ -86,7 +86,7 @@ export const load = async ({ params, url, route }) => { await runtime.setRuntime( queryClient, - fixLocalhostRuntimePort(runtimeData.host), + fixLocalhostRuntimePort(runtimeData.host ?? ""), runtimeData.instanceId, runtimeData.jwt?.token, runtimeData.jwt?.authContext,