Update api endpoint config.

* Remove stale hardcode