NapCatQQ/packages/napcat-onebot/network
手瓜一十雪 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
..
plugin Expose plugin pages at /plugin/:id/page/:path 2026-02-02 15:40:18 +08:00
adapter.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
http-client.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
http-server-sse.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
http-server.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
index.ts Add isActive property to plugin adapters 2026-01-14 18:53:32 +08:00
plugin-develop.ts Add local plugin import functionality 2026-01-30 11:58:43 +08:00
plugin-manger.ts Expose plugin pages at /plugin/:id/page/:path 2026-02-02 15:40:18 +08:00
websocket-client.ts Reduce WebSocket maxPayload to 50 MB 2026-01-27 22:56:27 +08:00
websocket-server.ts Reduce WebSocket maxPayload to 50 MB 2026-01-27 22:56:27 +08:00