From 9d4f6269557aff59b8284c65945c4b425be5a715 Mon Sep 17 00:00:00 2001 From: Thomas Lehmann Date: Tue, 11 Nov 2025 17:56:56 +0100 Subject: [PATCH] fix(+layout): don't redirect fresh users to Showroom New users have no chats, but should not be redirected to the showroom. This fixes a change introduced with: 4d188c344f5476d0953b2c35f58d6f5eae95f9e7 feat(frontend): send unauthenticated users to an external URL Refs: PRODAI-483 --- src/routes/(app)/+layout.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 0f1dc273f60d..1abc743062c2 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -64,7 +64,7 @@ if ($user === undefined || $user === null) { await goto('/auth'); } else if (!await hasChats() && !hasStoredState()) { - window.location = UNAUTHENTICATED_USERS_TARGET; + window.location = '/explore'; return; } else if (['user', 'admin'].includes($user?.role)) { try {