remove slashes from api url pusher to avoid double slashes