Change protocol between dev and prod