config based base url