diff options
author | Cédric Couralet | 2018-11-07 12:12:50 +0000 |
---|---|---|
committer | Cédric Couralet | 2018-11-07 12:30:17 +0000 |
commit | 67f8a64f2b1ea653b567a48ac6aa760b03c7189c (patch) | |
tree | 874d45a71b209e8e598e4568784e364b96d28678 /app.js | |
parent | d24fb48f16bff4d0e6b1bfdeffd2b41c7e61a347 (diff) |
Fix menu for github and dropbox
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -198,7 +198,11 @@ app.locals.authProviders = { email: config.isEmailEnable, allowEmailRegister: config.allowEmailRegister } -app.locals.enableGitlabSnippets = (!config.gitlab.scope || config.gitlab.scope === 'api') + +// Export/Import menu items +app.locals.enableDropBoxSave = config.isDropboxEnable +app.locals.enableGitHubGist = config.isGitHubEnable +app.locals.enableGitlabSnippets = config.isGitlabSnippetsEnable app.use(require('./lib/web/baseRouter')) app.use(require('./lib/web/statusRouter')) |