Add logic to set base url depending on deployment target