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 c94cc6b commit 84e0c21Copy full SHA for 84e0c21
netlify/functions/getPosts.js
@@ -5,7 +5,7 @@ exports.handler = async function(){
5
6
try {
7
8
- const postsDir = path.join(process.cwd(), '_posts');
+ /*const postsDir = path.join(process.cwd(), '_posts');
9
/*const files = fs.readdirSync(postsDir);
10
11
const posts = files.filter(file => file.endsWith('.json')).map(file => {
0 commit comments