fix cloudfront url in snippet template