Skip to content

Commit 1389051

Browse files
committed
Update comments
1 parent 453ceb5 commit 1389051

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

server/utils/feeds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { posts } from '#blog/posts'
44
let feed: Feed | undefined = undefined
55

66
/**
7-
* Lazily creates and returns object that serializes into RSS, Atom and JSON
7+
* Creates, caches and returns object that serializes into RSS, Atom and JSON
88
* feeds to be served on the website.
99
*
1010
* @returns feed object that serializes into different feed formats

test/e2e/feeds.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ test.describe('Blog feeds', () => {
4545
}, href)
4646

4747
expect(contentType).toBe(feed.contentType)
48+
// Make sure feeds are available to browser-based readers, see
49+
// https://www.blogsareback.com/guides/enable-cors
4850
expect(corsHeader).toBe('*')
4951
})
5052
}

0 commit comments

Comments
 (0)