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:
parent
1729962f9e
commit
84c71a56e9
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue