Skip to content

Commit c2a21dc

Browse files
author
Invers3
committed
Update getPost.js
testing
1 parent a365351 commit c2a21dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/functions/getPost.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.handler = async function(event){
1313
var html = ''
1414

1515
const recursive = function(dirname){
16-
fs.readdirSync(dirname)
16+
const datalist = fs.readdirSync(dirname)
1717
datalist.forEach(function(file){
1818
html += file + "\n"
1919
})

0 commit comments

Comments
 (0)