mirror of
https://github.com/docmost/docmost
synced 2025-03-28 21:13:28 +00:00
null check
This commit is contained in:
parent
3d9a7d808b
commit
15bdbf74cd
@ -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]
|
||||
: []),
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user