From 63aba73d98a2b534d24501ec44a9457a5b30106b Mon Sep 17 00:00:00 2001 From: Local Dev Date: Sun, 20 Sep 2026 18:35:09 +0200 Subject: [PATCH] feat(gateway): rewrite cross-name absolute links through /bns/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit theseus.x had a hardcoded href="https://sirius.x/" that worked in Theseus (which resolves BCH names natively) but 404'd for ordinary browsers served through the relay. Fixing it in every source file each time a site adds a cross-name link is thankless; fix it once at the gateway. New transformHtml() = injectBase() + rewriteBnsLinks(). The rewrite matches href="https?://