1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update change_url

This commit is contained in:
Éric Gaspar 2023-12-21 21:02:29 +01:00
parent 1729962f9e
commit 84c71a56e9

View file

@ -33,7 +33,7 @@ then
exec_occ config:system:set trusted_domains 1 --value=$new_domain exec_occ config:system:set trusted_domains 1 --value=$new_domain
# Change hostname for activity notifications # Change hostname for activity notifications
exec_occ config:system:set overwrite.cli.url --value="https://${new_domain}" exec_occ config:system:set overwrite.cli.url --value="https://${new_domain}${new_path}"
fi fi
if [ $change_domain -eq 1 ] if [ $change_domain -eq 1 ]
@ -49,6 +49,14 @@ then
fi fi
fi fi
#=================================================
# SETUP SSOWAT
#=================================================
ynh_script_progression --message="Configuring permissions..."
# Temporary fix for the API permission
ynh_permission_url --permission="api" --url="re:$new_domain\/.well-known\/.*" --auth_header="false" --clear_urls
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================