pluviouse commited on
Commit
8b7eff4
·
verified ·
1 Parent(s): af3bc27

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -13,7 +13,7 @@ app.get('/', (req, res) => {
13
  const userAgent = req.headers.get('user-agent');
14
 
15
  // Increment hit only if not from fetch
16
- if (!userAgent || !userAgent.toLowerCase().includes('fetch')) {
17
  hitCount++;
18
  }
19
 
 
13
  const userAgent = req.headers.get('user-agent');
14
 
15
  // Increment hit only if not from fetch
16
+ if (!userAgent || userAgent.toLowerCase().includes('fetch')) {
17
  hitCount++;
18
  }
19