From abea379eb037eef764afe127ab316cb0bb34e36c Mon Sep 17 00:00:00 2001 From: Attiya Ishaque Date: Tue, 27 Feb 2024 12:52:16 +0500 Subject: [PATCH 1/2] fix: browser header showing null (#1170) --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index e204398e6a..4594cc3c64 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,7 @@ - Authn | <%= process.env.SITE_NAME %> + <%= process.env.SITE_NAME ? 'Authn | ' + process.env.SITE_NAME : 'Authn' %> From c2a55e125cbb1f4f38c0f8c97f15dd24a5139676 Mon Sep 17 00:00:00 2001 From: Attiya Ishaque Date: Mon, 4 Mar 2024 14:47:44 +0500 Subject: [PATCH 2/2] fix: browser header showing null and replace authn with Authentication --- public/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 4594cc3c64..c582e3a690 100644 --- a/public/index.html +++ b/public/index.html @@ -1,7 +1,7 @@ - <%= process.env.SITE_NAME ? 'Authn | ' + process.env.SITE_NAME : 'Authn' %> + <%= (process.env.SITE_NAME && process.env.SITE_NAME != 'null') ? 'Authentication | ' + process.env.SITE_NAME : 'Authentication' %>