NathMen12 commited on
Commit
44b0866
·
verified ·
1 Parent(s): ab4f88b

Update central/src/index.js

Browse files
Files changed (1) hide show
  1. central/src/index.js +2 -2
central/src/index.js CHANGED
@@ -262,8 +262,8 @@ function dispatchToWorker(worker, job) {
262
  });
263
  }
264
 
265
- // Admin dashboard routes
266
- app.get('/admin', adminAuth, (req, res) => {
267
  res.sendFile(path.join(__dirname, '../../public/admin.html'));
268
  });
269
 
 
262
  });
263
  }
264
 
265
+ // Admin dashboard page (auth handled client-side via modal)
266
+ app.get('/admin', (req, res) => {
267
  res.sendFile(path.join(__dirname, '../../public/admin.html'));
268
  });
269