support a configurable base url