fix #14

I accidently pushe the code with localhost as the endpoint.