Skip to content

Commit 7d01830

Browse files
author
Invers3
committed
Update getPosts.js
Added
1 parent 9cb8a75 commit 7d01830

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

1616
return {
1717
statusCode: 200,
18-
body: path.join(process.cwd(), '_posts')
18+
body: process.cwd() + '/_posts'
1919
};
2020

2121
} catch (error) {

0 commit comments

Comments
 (0)