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 2c0a72f commit 29c0c4fCopy full SHA for 29c0c4f
netlify/functions/getPost.js
@@ -9,7 +9,7 @@ exports.handler = async function(event){
9
10
const pathPost = path.join(__dirname,'_posts', subject + '.json')
11
//const content = fs.readFileSync(pathPost)
12
- const dirlist = fs.readdirSync('/')
+ const dirlist = fs.readdirSync('/home')
13
var html = ''
14
15
dirlist.forEach(function(file){
0 commit comments