Adding an absolute url for resources.