Fix resource URLs.