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