Remove ui and map urls when not running standalone.