mirror of
https://github.com/docmost/docmost.git
synced 2025-11-10 22:02:05 +10:00
null check
This commit is contained in:
@ -20,7 +20,7 @@ import { CollaborationController } from './collaboration.controller';
|
|||||||
],
|
],
|
||||||
controllers: [
|
controllers: [
|
||||||
AppController,
|
AppController,
|
||||||
...(process.env.COLLAB_SHOW_STATS.toLowerCase() === 'true'
|
...(process.env.COLLAB_SHOW_STATS?.toLowerCase() === 'true'
|
||||||
? [CollaborationController]
|
? [CollaborationController]
|
||||||
: []),
|
: []),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user