Skip to content

Commit

Permalink
fix: sync config
Browse files Browse the repository at this point in the history
  • Loading branch information
niftylettuce committed Feb 11, 2021
1 parent 5e2a289 commit f7e29f5
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions template/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,21 +256,25 @@ config.views.locals.manifest = manifestRev({

// add global `config` object to be used by views
config.views.locals.config = _.pick(config, [
'verificationPin',
'supportRequestMaxLength',
'appName',
'urls',
'userFields',
'otpRoutePrefix',
'passport',
'appColor',
'twitter',
'appName',
'env',
'lastLocaleField',
'loginRoute',
'maxForwardedAddresses',
'otpRoutePrefix',
'passport',
'passportCallbackOptions',
'passportLocalMongoose',
'pkg',
'verifyRoute',
'passportCallbackOptions'
'recordPrefix',
'storeIPAddress',
'supportRequestMaxLength',
'twitter',
'urls',
'userFields',
'verificationPin',
'verifyRoute'
]);

// add `views` to `config.email`
Expand Down

0 comments on commit f7e29f5

Please sign in to comment.