mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-25 12:34:45 -04:00
Fix menu when gitlab is enabled
Signed-off-by: Cédric Couralet <cedric.couralet@gmail.com>
This commit is contained in:
parent
dbcb469fd3
commit
d24fb48f16
2 changed files with 7 additions and 6 deletions
1
app.js
1
app.js
|
@ -198,6 +198,7 @@ app.locals.authProviders = {
|
|||
email: config.isEmailEnable,
|
||||
allowEmailRegister: config.allowEmailRegister
|
||||
}
|
||||
app.locals.enableGitlabSnippets = (!config.gitlab.scope || config.gitlab.scope === 'api')
|
||||
|
||||
app.use(require('./lib/web/baseRouter'))
|
||||
app.use(require('./lib/web/statusRouter'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue