fix: dual-mount blogroll at /blogrollapi and /rssapi

/blogroll static page hardcodes /blogrollapi/api/* calls.
/news static page hardcodes /rssapi/api/* calls.
Both must work simultaneously.

- Revert mountPath to /blogrollapi (restores /blogroll page)
- Patch init() to also register publicRouter at /rssapi via a
  thin Indiekit.addEndpoint() alias (fixes /news page)
- /api/feeds alias retained for /news page (maps to listBlogs)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Sven
2026-03-13 19:09:48 +01:00
parent d411a87161
commit c4299b73b1
2 changed files with 37 additions and 7 deletions

View File

@@ -425,7 +425,7 @@ export default {
checked: false
},
"@rmdes/indiekit-endpoint-blogroll": {
mountPath: "/rssapi",
mountPath: "/blogrollapi",
syncInterval: 3600000,
maxItemsPerBlog: 50,
maxItemAge: 7,