diff --git a/src/config.js b/src/config.js index 732c16f..947c09b 100644 --- a/src/config.js +++ b/src/config.js @@ -21,4 +21,5 @@ module.exports = { }, pasetoApiToken: process.env.ONBOARDING_PASETO_KEY, apiURL: process.env.DEVELOPERS_ITALIA_API_URL || 'https://api.developers.italia.it/v1', + fastOnboarding: process.env.FAST_ONBOARDING || false }; diff --git a/src/home.js b/src/home.js index f59a131..c2f6e27 100644 --- a/src/home.js +++ b/src/home.js @@ -7,6 +7,7 @@ module.exports = function (request, h) { return h.view( 'main-content', { appVersion, + fastOnboarding: config.fastOnboarding, pa: { esUrl: config.esUrl, ipa: '', diff --git a/src/tpl/main-content.html b/src/tpl/main-content.html index 90cea67..08675ce 100644 --- a/src/tpl/main-content.html +++ b/src/tpl/main-content.html @@ -2,7 +2,7 @@