Spaces:
Running
Running
JOHN SILLVESTOR commited on
Clean server.js without hardcoded UIDs
Browse files
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";
|