Skip to content

Commit f8d0aee

Browse files
author
Invers3
committed
Update getPosts.js
Testing
1 parent ea54a7b commit f8d0aee

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
@@ -10,7 +10,7 @@ exports.handler = async function(){
1010

1111
var posts = '';
1212
files.map(file => {
13-
posts += postsDir + file + "\n"
13+
posts += postsDir + "/" + file + "\n"
1414
});
1515

1616
return {

0 commit comments

Comments
 (0)