Exclude Hotlink Protection When URL Shared

How do I exclude hotlink protection when a URL is shared?
Because it makes my site’s image (open graph) not displayed when shared

For files you want hotlinking allowed, they need to be in a hotlink-ok directory: