mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
ce321ce836
commit
b454e0cc96
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ router.use(cors())
|
|||
// is federation enabled? middleware
|
||||
router.use((_req, res, next) => {
|
||||
if (settingsController.settings.enable_federation) { return next() }
|
||||
log.debug('Federation disabled!')
|
||||
log.debug('[FEDI] Federation disabled!')
|
||||
return res.status(401).send('Federation disabled')
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue