Implemented UI_BACK_BUTTON for kiosk users to navigate to the previous page. Removed h1 to clean-up UI

This commit is contained in:
Glenn de Haan
2025-01-05 16:18:05 +01:00
parent aaac79a096
commit 99382626de
5 changed files with 13 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ module.exports = {
logLevel: config('log_level') || process.env.LOG_LEVEL || 'info',
translationDefault: config('translation_default') || process.env.TRANSLATION_DEFAULT || 'en',
translationDebug: config('translation_debug') || (process.env.TRANSLATION_DEBUG === 'true') || false,
uiBackButton: config('ui_back_button') || (process.env.UI_BACK_BUTTON === 'true') || false,
gitTag: process.env.GIT_TAG || 'master',
gitBuild: fs.existsSync('/etc/unifi_voucher_site_build') ? fs.readFileSync('/etc/unifi_voucher_site_build', 'utf-8') : 'Development'
};