Remove Table of contents anchor link

Hello, I have a question about TOC links…
When i press on some heading from TOC, the url changes to example.com/post/#heading, but I want it to stay example.com/post
How can i achieve that… I haven’t found the option for that in TOC element…
Thanks!