Fix production code not detecting it’s production env and loading development API URL