1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Simplify main domain retrivement

This commit is contained in:
Josué Tille 2024-02-22 22:07:11 +01:00
parent 628703aee4
commit 388757cb89
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -1,6 +1,6 @@
python_version="$(python3 -V | cut -d' ' -f2 | cut -d. -f1-2)"
main_domain=$(yunohost domain list --output-as json | jq -r .main)
main_domain=$(yunohost domain main-domain --output-as plain)
code_dir="/opt/yunohost/matrix-$app"
base_api_url="/_matrix"