• Pick the site domain in one place, so a dead domain cannot empty browsing

    cybertr0n released this 2026-12-04 19:04:42 +00:00

    The domain from the settings was baked into every site URL, so a dead or
    parked pick broke the categories, the listings and the release pages, while
    the search had a fallback of its own. resources/lib/modules/mirrors.py now
    owns the decision: origin() is what links are built on, get() asks the domain
    that last answered and walks the site's others only when it stops answering,
    and the answer is noted for 6 h so a dead domain costs one failed request per
    session. cloudflare_mode() and the search both call it, and a page with no

    /categories-2 under 40 KB counts as down, which is what catches a parked domain answering 200. Post links stay on the plain domain; only the search API and its pagination use search..
    Downloads