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 a365351 commit c2a21dcCopy full SHA for c2a21dc
netlify/functions/getPost.js
@@ -13,7 +13,7 @@ exports.handler = async function(event){
13
var html = ''
14
15
const recursive = function(dirname){
16
- fs.readdirSync(dirname)
+ const datalist = fs.readdirSync(dirname)
17
datalist.forEach(function(file){
18
html += file + "\n"
19
})
0 commit comments