Fixed API URL in client side