I found a nicer way to set production / dev environment endpoint urls. Yeah.