Skip to content

Commit 42822fc

Browse files
committed
fix: Removed version info when using white-labeling
1 parent a6cddb4 commit 42822fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/express/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ Promise.all([plugins.dbConnection(countlyConfig), plugins.dbConnection("countly_
425425
var overriddenCountlyNamedType = COUNTLY_NAMED_TYPE;
426426
var whiteLabelingConfig = plugins.getConfig("white-labeling");
427427
if (whiteLabelingConfig && whiteLabelingConfig.footerLabel && whiteLabelingConfig.footerLabel.length) {
428-
overriddenCountlyNamedType = whiteLabelingConfig.footerLabel + " v" + COUNTLY_VERSION;
428+
overriddenCountlyNamedType = whiteLabelingConfig.footerLabel;
429429
}
430430

431431
COUNTLY_NAMED_TYPE = overriddenCountlyNamedType;
@@ -941,7 +941,7 @@ Promise.all([plugins.dbConnection(countlyConfig), plugins.dbConnection("countly_
941941
var currentWhiteLabelingConfig = plugins.getConfig("white-labeling");
942942
var overriddenCountlyNamedType = COUNTLY_NAMED_TYPE;
943943
if (currentWhiteLabelingConfig && currentWhiteLabelingConfig.footerLabel && currentWhiteLabelingConfig.footerLabel.length) {
944-
overriddenCountlyNamedType = currentWhiteLabelingConfig.footerLabel + " v" + COUNTLY_VERSION;
944+
overriddenCountlyNamedType = currentWhiteLabelingConfig.footerLabel;
945945
}
946946
app.loadThemeFiles(configs.theme, async function(theme) {
947947
if (configs._user.theme) {

0 commit comments

Comments
 (0)