DEPLOY TIME !!!

This commit is contained in:
Jill 2023-04-30 21:39:08 +03:00
parent 56948be9a2
commit f14813c88f
Signed by: oat
GPG Key ID: 33489AA58A955108
2 changed files with 3 additions and 3 deletions

View File

@ -75,8 +75,8 @@ export async function fetchAllPosts(page = 0) {
* @returns {Promise<Post[]>} * @returns {Promise<Post[]>}
*/ */
async function getPostsUncached() { async function getPostsUncached() {
//return await fetchAllPosts(); return await fetchAllPosts();
return JSON.parse(await fs.readFile('src/testPosts.json', 'utf8')).filter(post => post.tags.includes('cohost-blogger')); //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 // this technically only stores the preview data - the posts on the actual pages are always fetched

View File

@ -1,6 +1,6 @@
export default { export default {
handle: 'oatmealine', handle: 'oatmealine',
tag: 'oatposting', tag: 'cohost-blogger',
blogName: 'breakfast oatmeal', blogName: 'breakfast oatmeal',
blogDescription: 'cat /dev/urandom as a service - jill\'s tiny little blog place', blogDescription: 'cat /dev/urandom as a service - jill\'s tiny little blog place',
siteURL: 'https://blog.oat.zone' siteURL: 'https://blog.oat.zone'