add base uri to config