chore: updated rss endpoints
ea35202d
2 file(s) · +2 −2
| 79 | 79 | title: doc.title, |
|
| 80 | 80 | description: description, |
|
| 81 | 81 | pubDate: new Date(doc.publishedAt), |
|
| 82 | - | link: `/now${urlPath}`, |
|
| 82 | + | link: urlPath, |
|
| 83 | 83 | content: sanitizeHtml(htmlContent, { |
|
| 84 | 84 | allowedTags: sanitizeHtml.defaults.allowedTags.concat(["img"]), |
|
| 85 | 85 | }), |
| 264 | 264 | ||
| 265 | 265 | // Use custom path if available, otherwise use rkey |
|
| 266 | 266 | const urlPath = doc.path || `/${rkey}`; |
|
| 267 | - | const fullUrl = `https://stevedylan.dev/now${urlPath}`; |
|
| 267 | + | const fullUrl = `https://stevedylan.dev${urlPath}`; |
|
| 268 | 268 | ||
| 269 | 269 | // Extract content - prefer markdown content, fallback to textContent |
|
| 270 | 270 | let content = doc.title; |