Skip to content

Commit 41d1557

Browse files
author
Invers3
committed
Update GetPosts.js
Testing
1 parent b7eb4a0 commit 41d1557

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(__dirname, '_posts');
8+
const postsDir = path.join(__dirname);
99
const files = fs.readdirSync(postsDir);
1010

1111
var posts = '';

0 commit comments

Comments
 (0)