mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-27 02:51:57 +02:00
handle missing settings.apis.project_history
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = HistoryController =
|
||||
next(error)
|
||||
|
||||
buildHistoryServiceUrl: () ->
|
||||
if settings.apis.project_history.enabled
|
||||
if settings.apis.project_history?.enabled
|
||||
return settings.apis.project_history.url
|
||||
else
|
||||
return settings.apis.trackchanges.url
|
||||
|
||||
Reference in New Issue
Block a user