diff --git a/scripts/change_url b/scripts/change_url index 5d70e6e..7e6359a 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 --permission="api" --label="api" --url="re:$new_domain\/.well-known\/.*" --allowed="visitors" "all_users" --auth_header="false" --show_tile="false" --protected="true" +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" #================================================= # END OF SCRIPT