NapCatQQ/packages/napcat-onebot/network/plugin
手瓜一十雪 a5769b6a62 Expose plugin pages at /plugin/:id/page/:path
Add a public route to serve plugin extension pages without auth and update related pieces accordingly. Backend: register GET /plugin/:pluginId/page/:pagePath to locate the plugin router, validate page and HTML file existence, and send the file (returns appropriate 4xx/5xx errors). Frontend: switch iframe and new-window URLs to the new unauthenticated route (remove webui_token usage). Builtin plugin: clarify page registration comment and add a log line for the extension page URL. Minor formatting whitespace tweaks in plugin manager type annotations.
2026-02-02 15:40:18 +08:00
..
config.ts Refactor plugin manager with modular loader and types 2026-01-30 11:50:22 +08:00
index.ts Refactor plugin manager with modular loader and types 2026-01-30 11:50:22 +08:00
loader.ts fix: #1574 & Clear CJS cache and reload plugins on install 2026-02-02 14:14:06 +08:00
manager.ts Expose plugin pages at /plugin/:id/page/:path 2026-02-02 15:40:18 +08:00
router-registry.ts Support memory static files and plugin APIs 2026-02-02 15:01:26 +08:00
types.ts Support memory static files and plugin APIs 2026-02-02 15:01:26 +08:00