diff --git a/scripts/change_url b/scripts/change_url index e31215c..fbf2ec3 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -95,6 +95,9 @@ fi #================================================= ynh_script_progression --message="Reloading NGINX web server..." +# Temporary fix for the API permission (workaround for https://github.com/YunoHost/issues/issues/2294 ) +ynh_permission_url --permission="api" --url="re:$new_domain\/.well-known\/.*" --auth_header="false" --clear_urls + ynh_systemd_action --service_name=nginx --action=reload #=================================================