How to change link associacion?

I have a link like this in a LibreOffice document. I want this link to be opened in the default browser (firefox) on click, but LibreOffice tries to open it as a text file. How can I change this behavior?

If you right-click and choose “Edit Hyperlink…” you will get some useful options. Your link may be set to “Document” instead of “Internet”.

It is also possible to show text different from the link, for example “my website” which when clicked will take you to or whatever.

(If this is the answer you needed, you can mark it: green checkmark.)