Fix module repository loading and missing README rendering#747
Conversation
|
Thanks for working on this. I pulled and tested the PR locally. What looks good:
One regression I noticed:
So it may be better to keep a separate web base URL for A smaller robustness note: |
|
I opened a small follow-up PR at #765 with the two adjustments mentioned above: keeping the browser URL on the public web host, and surfacing non-2xx / empty API responses as load failures. Thanks again for the original fix and investigation here. If maintainers prefer this to stay in #747 instead, the changes should be straightforward to fold back. |
Summary
Fix module repository loading by switching to the new official LSPosed backup CDN endpoint,
https://backup.modules.lsposed.org/.The previous repository endpoints and fallback mirrors are deprecated because the official LSPosed manager has moved to a newer CDN-backed repository request mechanism. The new official backup CDN endpoint remains compatible with the legacy repository API format used by this manager:
<base>/modules.json<base>/module/<package>.jsonThis allows the existing repository loading logic to keep working without migrating this manager to the newer official request mechanism.
This PR also fixes README rendering on the module detail page. Some module entries from
modules.jsondo not include full README content. When README content is missing, the manager now loads the per-module JSON and refreshes the README view after the full module data is available.Changes