diff --git a/app.js b/app.js index 8615e42..ff3bd4d 100644 --- a/app.js +++ b/app.js @@ -34,7 +34,7 @@ app.get('/posts', (req, res) => { if (postData && postData.active === 'posts') { data.posts.push(postData) } else { - console.log(files[i], 'does not have a corresponding "html" file') + console.log(files[i], 'does not have a corresponding "html" file or is not active') } } }