switched if local url, since we can't use root