mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 06:31:13 +00:00
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. |
||
|---|---|---|
| .. | ||
| plugin | ||
| adapter.ts | ||
| http-client.ts | ||
| http-server-sse.ts | ||
| http-server.ts | ||
| index.ts | ||
| plugin-develop.ts | ||
| plugin-manger.ts | ||
| websocket-client.ts | ||
| websocket-server.ts | ||