diff --git a/scripts/change_url b/scripts/change_url index a5a3c6c..6da4c8d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -55,7 +55,7 @@ fi ynh_script_progression --message="Configuring permissions..." # Temporary fix for the API permission -ynh_permission_create --clear_urls --permission="api" --label="api" --url="re:$new_domain\/.well-known\/.*" --allowed="visitors" "all_users" --auth_header="false" --show_tile="false" --protected="true" +ynh_permission_url --permission="api" --url="re:$new_domain\/.well-known\/.*" --auth_header="false" --clear_urls #================================================= # END OF SCRIPT