localhost link not valid for social sites sharing
I have created a component for sharing the page on social sites like facebook, twitter, linkedin and whatsapp. This work is done AEM as a Cloud Service. But there is a problem with localhost link. The sharing window opens up but it says "href is not valid". When I googled it, it says that localhost link doesn't work for sharing on social media. Is there any alternate solution for this by which I can test my component locally whether it works fine or not?