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:
@@ -425,7 +425,7 @@ export default {
|
||||
checked: false
|
||||
},
|
||||
"@rmdes/indiekit-endpoint-blogroll": {
|
||||
mountPath: "/rssapi",
|
||||
mountPath: "/blogrollapi",
|
||||
syncInterval: 3600000,
|
||||
maxItemsPerBlog: 50,
|
||||
maxItemAge: 7,
|
||||
|
||||
Reference in New Issue
Block a user