Allow API to be served from any host

Defaults to the host serving the doc