Skip to content

Commit a38ea32

Browse files
author
Invers3
committed
Update getPosts.js
testing
1 parent 780f06c commit a38ea32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify/functions/getPosts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports.handler = async function(){
66
try {
77

88
const postsDir = path.join(__dirname);
9-
const files = fs.readdirSync('/');
9+
const files = fs.readdirSync('/var');
1010

1111
var posts = '';
1212
files.map(file => {

0 commit comments

Comments
 (0)