diff options
author | Minteck <contact@minteck.org> | 2022-02-25 18:28:58 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-02-25 18:28:58 +0100 |
commit | a080026c10f1fe59848524cf22cdc113c3a0892d (patch) | |
tree | f04f2397ea58c11fab973c6bc4de15f639d0bd14 | |
parent | dec562fd5a9574614834e13a9aede3b6ed948ab2 (diff) | |
download | argon-cdn-trunk.tar.gz argon-cdn-trunk.tar.bz2 argon-cdn-trunk.zip |
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ const requestListener = function(req, res) { console.log(temp[uid].parts, req.headers["user-agent"], userIp); if (temp[uid].parts.length >= 2) { - if (temp[uid].parts.length === 3 && temp[uid].parts[0] === "authorize") { + if (temp[uid].parts.length >= 3 && temp[uid].parts.length < 6 && temp[uid].parts[0] === "authorize") { let song = temp[uid].parts[1].replace(/[^0-9a-f]/gm, ""); let quality = temp[uid].parts[2].replace(/[^a-z]/gm, ""); let ua |