fixed apiUrl for cockpit