using dev or prod server url correctly