add cdn to resources.