fix: match homepage WebSub topic URL with trailing slash
The HTML self link produces https://rmendes.net/ (with slash) but hub was notified with https://rmendes.net (no slash). Hub treats these as different topics. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -421,7 +421,7 @@ export default function (eleventyConfig) {
|
|||||||
// WebSub hub notification — notify subscribers of feed updates
|
// WebSub hub notification — notify subscribers of feed updates
|
||||||
const hubUrl = "https://websubhub.com/hub";
|
const hubUrl = "https://websubhub.com/hub";
|
||||||
const feedUrls = [
|
const feedUrls = [
|
||||||
siteUrl,
|
`${siteUrl}/`,
|
||||||
`${siteUrl}/feed.xml`,
|
`${siteUrl}/feed.xml`,
|
||||||
`${siteUrl}/feed.json`,
|
`${siteUrl}/feed.json`,
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user