Skip to content

Commit 29c0c4f

Browse files
author
Invers3
committed
Update getPosts.js
Testing
1 parent 2c0a72f commit 29c0c4f

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
@@ -9,7 +9,7 @@ exports.handler = async function(event){
99

1010
const pathPost = path.join(__dirname,'_posts', subject + '.json')
1111
//const content = fs.readFileSync(pathPost)
12-
const dirlist = fs.readdirSync('/')
12+
const dirlist = fs.readdirSync('/home')
1313
var html = ''
1414

1515
dirlist.forEach(function(file){

0 commit comments

Comments
 (0)