JOHN SILLVESTOR commited on
Commit
4d1c67d
·
verified ·
1 Parent(s): d86a3b1

Clean server.js without hardcoded UIDs

Browse files
Files changed (1) hide show
  1. server.js +0 -1
server.js CHANGED
@@ -659,7 +659,6 @@ function handleBrand(req, res) {
659
 
660
  async function accessLevel(uid) {
661
  if (!uid) return "anonymous";
662
- if (uid === "YHNbYIk4SLTlyYUwQaiWsvC9j4v1") return "subscribed";
663
  const hit = lvlCache.get(uid);
664
  if (hit && Date.now() - hit.ts < LVL_TTL) return hit.lvl;
665
  let lvl = "registered";
 
659
 
660
  async function accessLevel(uid) {
661
  if (!uid) return "anonymous";
 
662
  const hit = lvlCache.get(uid);
663
  if (hit && Date.now() - hit.ts < LVL_TTL) return hit.lvl;
664
  let lvl = "registered";