update promo to be for the vpn

This commit is contained in:
johngruen 2020-03-24 20:58:02 +01:00
parent deec85be14
commit 2a3db78f97
No known key found for this signature in database
GPG key ID: 78876F1F066C27DC
3 changed files with 8 additions and 5 deletions

View file

@ -8,7 +8,9 @@ function banner(state) {
return; // server side
}
const show =
!state.capabilities.standalone && !state.route.startsWith('/unsupported/');
!state.capabilities.standalone &&
!state.route.startsWith('/unsupported/') &&
state.locale === 'en-US';
if (show) {
return state.cache(Promo, 'promo').render();
}