Fix in-place changing of serverUrl