It's even more annoying (and takes more than 2 minutes) to do so in Windows 11. I got a hand on it some time ago (though reverted, not due to this behavior) and spend some time to change the default browser to what I'm using (Vivaldi)
Apparently, there's no option to set default app for common file types (Audio, Video, Browser etc...) in Windows 11. Instead, to change default apps, you have to track down all file types using that app and change it. Considering web browser can handle more than HTML, it's time consuming to change them all. Granted, it may be one-time change, but I find my default browser got reset quite often in Windows 10. If this happens in Windows 11, it will be a nightmare to fix.