Actually, this is difficult to do in the DiscourseHub app. We’d have to add thousands of Discourse site domain names to the com.apple.developer.associated-domains entitlement… the Universal Links system is not built for that, it’s built to associate a few domains with an app, not thousands.
(On Android, this should work out of the box with PWAs.)