mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-27 14:01:22 +00:00
Fix crash in lutim integration
Signed-off-by: Girish Ramakrishnan <girish@cloudron.io>
This commit is contained in:
parent
01bff246b0
commit
c034ee5571
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ exports.uploadImage = function (imagePath, callback) {
|
||||||
|
|
||||||
if (config.lutim && config.lutim.url) {
|
if (config.lutim && config.lutim.url) {
|
||||||
lutim.setAPIUrl(config.lutim.url)
|
lutim.setAPIUrl(config.lutim.url)
|
||||||
logger.debug(`Set lutim URL to ${lutim.getApiUrl()}`)
|
logger.debug(`Set lutim URL to ${lutim.getAPIUrl()}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
lutim.uploadImage(imagePath)
|
lutim.uploadImage(imagePath)
|
||||||
|
|
Loading…
Reference in a new issue