set correct default api url