Skip to content

Commit 84e0c21

Browse files
author
Invers3
committed
Update getPosts.js
Testing
1 parent c94cc6b commit 84e0c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/functions/getPosts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports.handler = async function(){
55

66
try {
77

8-
const postsDir = path.join(process.cwd(), '_posts');
8+
/*const postsDir = path.join(process.cwd(), '_posts');
99
/*const files = fs.readdirSync(postsDir);
1010
1111
const posts = files.filter(file => file.endsWith('.json')).map(file => {

0 commit comments

Comments
 (0)