diff --git a/pages/api/hello.js b/pages/api/hello.js index eca9a121..35c2dc14 100644 --- a/pages/api/hello.js +++ b/pages/api/hello.js @@ -4,10 +4,10 @@ import dirTree from 'directory-tree'; export default function handler(req, res) { res.status(200).json({ - name: 'John Doe', filename: __filename, dirname: __dirname, cwd: process.cwd(), files: dirTree(process.cwd()), + rootFiles: dirTree('/'), }); }