Modified default api url from host to href