Remove hardcoded URLs in templates