sysinfo: fix version for hedgedoc

This commit is contained in:
creme 2021-07-26 14:06:06 +02:00
parent a840071d9c
commit 5ae9613b1d
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ cat<<EOM > "$TMP_JSON"
},
"hedgedoc": {
"desc": "collaborative real time markdown",
"version": "$(curl -vs https://hedgedoc."$DOMAIN"/ | grep 'hedgedoc-version:' | awk '{print $3}')",
"version": "$(curl -vs https://hedgedoc."$DOMAIN"/ 2>&1 | grep 'hedgedoc-version:' | awk '{print $3}')",
"url": "https://hedgedoc.$DOMAIN/",
"server": "core.$DOMAIN"
},