From 4f7aa191660c3979b88fba5707ccc246e3648280 Mon Sep 17 00:00:00 2001 From: nayan9617 Date: Thu, 2 Apr 2026 23:16:54 +0530 Subject: [PATCH] align logo handling with production build behavior --- src/app/core/state.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/core/state.ts b/src/app/core/state.ts index 81a8daaf..b5d50a3e 100644 --- a/src/app/core/state.ts +++ b/src/app/core/state.ts @@ -191,7 +191,9 @@ export const PLATFORM_TERMS = import.meta.env.VITE_PLATFORM_TERMS export const PLATFORM_PRIVACY = import.meta.env.VITE_PLATFORM_PRIVACY -export const PLATFORM_LOGO = import.meta.env.VITE_PLATFORM_LOGO || PLATFORM_URL + "/logo.png" +export const PLATFORM_LOGO = import.meta.env.PROD + ? PLATFORM_URL + "/logo.png" + : import.meta.env.VITE_PLATFORM_LOGO || PLATFORM_URL + "/logo.png" export const PLATFORM_NAME = import.meta.env.VITE_PLATFORM_NAME