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