We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cb8a75 commit 7d01830Copy full SHA for 7d01830
netlify/functions/getPosts.js
@@ -15,7 +15,7 @@ exports.handler = async function(){
15
16
return {
17
statusCode: 200,
18
- body: path.join(process.cwd(), '_posts')
+ body: process.cwd() + '/_posts'
19
};
20
21
} catch (error) {
0 commit comments