Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Fix check for env variable (#425)
Browse files Browse the repository at this point in the history
Fix check for env variable
  • Loading branch information
remybach authored Jan 10, 2020
2 parents 30e0f22 + 513591e commit 0819246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/article/article-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ module.exports = (article, options) => Object.assign(article, {

visibilityOptIn: segmentArticle(article),

showSwGButton: process.env.SHOW_SWG_BUTTON,
showSwGButton: process.env.SHOW_SWG_BUTTON === 'true',
});

0 comments on commit 0819246

Please sign in to comment.