mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
handle missing settings.apis.project_history
This commit is contained in:
parent
519f041215
commit
c437eb37d5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue