Skip to content

Commit 91b7692

Browse files
committed
cleanup
1 parent 35e699d commit 91b7692

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pages/api/featured-project-views.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ import featuredProject from '../../lib/featured-project.json'
33
let projectViews = {}
44

55
export default function handler(req, res) {
6-
// Check if the featured project feature is enabled
7-
if (!featuredProject.enabled) {
8-
return res.status(404).json({ error: 'Featured project is currently disabled' })
9-
}
10-
116
const currentProjectId = featuredProject.id
127

138
if (projectViews[currentProjectId] === undefined) {

0 commit comments

Comments
 (0)