diff options
author | Christoph (Sheogorath) Kern | 2018-11-07 13:35:10 +0100 |
---|---|---|
committer | GitHub | 2018-11-07 13:35:10 +0100 |
commit | 4e5e7df4f8ed5b4317ab9205ceb8c2b3231517ad (patch) | |
tree | 874d45a71b209e8e598e4568784e364b96d28678 /app.js | |
parent | dbcb469fd37520b29fe018aa4233a477cb091c8f (diff) | |
parent | 67f8a64f2b1ea653b567a48ac6aa760b03c7189c (diff) |
Merge pull request #1041 from micedre/export-menu-fix
Fix menu when gitlab is enabled
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -199,6 +199,11 @@ app.locals.authProviders = { allowEmailRegister: config.allowEmailRegister } +// 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')) app.use(require('./lib/web/auth')) |