solve bug with file_exists on ios
use worona.api_url if it is set