Links in Discord being opened with kioexec

For some reason, since I updated my KDE Plasma, it opens in-discord webpages with kioexec, which leads to some errors. Before this update, the webpages would the opened with my default browser(Firefox), but now it first seems to download the page to the system cache and then open the downloaded page with firefox. The pages get bugged and I don’t know why this is happening.

Any ideas?
Thanks in advance!

The first thing to check would be System Settings.
Under Personalization, click Applications.
Under Default Applications, see what Web Browser is set to.

For some reason it wasn’t detecting firefox, which was selected. Changed the browser and reverted to firefox and it worked. Thanks!

I’m glad it was such a simple fix.