Skip to content

Commit b77981d

Browse files
author
Invers3
committed
Update getPost.js
Testing
1 parent 980c495 commit b77981d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

netlify/functions/getPost.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ exports.handler = async function(event){
1111

1212
return {
1313
statusCode: 200,
14-
body: JSON.stringify(JSON.parse(post))
14+
body: {
15+
out: postsDir
16+
}
1517
};
1618

1719
} catch (error) {

0 commit comments

Comments
 (0)