diff --git a/src/lib/cohost.js b/src/lib/cohost.js index e9513db..fa60e49 100644 --- a/src/lib/cohost.js +++ b/src/lib/cohost.js @@ -75,8 +75,8 @@ export async function fetchAllPosts(page = 0) { * @returns {Promise} */ async function getPostsUncached() { - //return await fetchAllPosts(); - return JSON.parse(await fs.readFile('src/testPosts.json', 'utf8')).filter(post => post.tags.includes('cohost-blogger')); + return await fetchAllPosts(); + //return JSON.parse(await fs.readFile('src/testPosts.json', 'utf8')).filter(post => post.tags.includes('cohost-blogger')); } // this technically only stores the preview data - the posts on the actual pages are always fetched diff --git a/src/lib/config.js b/src/lib/config.js index c6839fb..76967be 100644 --- a/src/lib/config.js +++ b/src/lib/config.js @@ -1,6 +1,6 @@ export default { handle: 'oatmealine', - tag: 'oatposting', + tag: 'cohost-blogger', blogName: 'breakfast oatmeal', blogDescription: 'cat /dev/urandom as a service - jill\'s tiny little blog place', siteURL: 'https://blog.oat.zone'