DEPLOY TIME !!!
This commit is contained in:
parent
56948be9a2
commit
f14813c88f
|
@ -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
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue