publish cyp changes

This commit is contained in:
JerryXiao 2022-01-13 11:16:40 +08:00
parent becddcbef5
commit c51ccda65b
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5
3 changed files with 74 additions and 18 deletions

File diff suppressed because one or more lines are too long

View file

@ -114,6 +114,7 @@ function onRequest(request, response) {
}
function requestValidator(request) {
if (request.resourceURL.query["server"]) { return false; }
let ticket = request.resourceURL.query["ticket"];
let index = tickets.indexOf(ticket);
if (index > -1) {

View file

@ -6,7 +6,7 @@
"dependencies": {
"custom-range": "^1.1.0",
"node-static": "^0.7.11",
"ws2mpd": "^2.3.0"
"ws2mpd": "git+https://git.jerryxiao.cc/Jerry/ws2mpd.git#b223edc357"
},
"devDependencies": {
"less": "^3.9.0",