We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35e699d commit 91b7692Copy full SHA for 91b7692
pages/api/featured-project-views.js
@@ -3,11 +3,6 @@ import featuredProject from '../../lib/featured-project.json'
3
let projectViews = {}
4
5
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
-
11
const currentProjectId = featuredProject.id
12
13
if (projectViews[currentProjectId] === undefined) {
0 commit comments