From 93e2f666aa118ae01b72f5b6aae2b1dcba57e900 Mon Sep 17 00:00:00 2001 From: Dorian Date: Sat, 14 Feb 2026 11:25:44 +0000 Subject: [PATCH] feat: update default content source for new users - Changed the default content source from 'indeehub-api' to 'topdocfilms' for new users and first visits. - Updated comments to reflect the new default behavior, enhancing clarity for future developers. This change aims to improve the onboarding experience for new users by providing a more relevant default content source. --- src/stores/contentSource.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/contentSource.ts b/src/stores/contentSource.ts index 74cad2a..d38ffe6 100644 --- a/src/stores/contentSource.ts +++ b/src/stores/contentSource.ts @@ -9,9 +9,9 @@ export const useContentSourceStore = defineStore('contentSource', () => { const saved = localStorage.getItem(STORAGE_KEY) as ContentSourceId | null const validSources: ContentSourceId[] = ['indeehub', 'topdocfilms', 'indeehub-api'] - // Default to 'indeehub-api' when the self-hosted backend URL is configured + // Default to TopDoc Films for new users / first visits const apiUrl = import.meta.env.VITE_INDEEHUB_API_URL || '' - const defaultSource: ContentSourceId = apiUrl ? 'indeehub-api' : 'indeehub' + const defaultSource: ContentSourceId = 'topdocfilms' const activeSource = ref( saved && validSources.includes(saved) ? saved : defaultSource