publish cyp changes
This commit is contained in:
parent
becddcbef5
commit
c51ccda65b
3 changed files with 74 additions and 18 deletions
87
app/cyp.js
87
app/cyp.js
File diff suppressed because one or more lines are too long
1
index.js
1
index.js
|
@ -114,6 +114,7 @@ function onRequest(request, response) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function requestValidator(request) {
|
function requestValidator(request) {
|
||||||
|
if (request.resourceURL.query["server"]) { return false; }
|
||||||
let ticket = request.resourceURL.query["ticket"];
|
let ticket = request.resourceURL.query["ticket"];
|
||||||
let index = tickets.indexOf(ticket);
|
let index = tickets.indexOf(ticket);
|
||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"custom-range": "^1.1.0",
|
"custom-range": "^1.1.0",
|
||||||
"node-static": "^0.7.11",
|
"node-static": "^0.7.11",
|
||||||
"ws2mpd": "^2.3.0"
|
"ws2mpd": "git+https://git.jerryxiao.cc/Jerry/ws2mpd.git#b223edc357"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"less": "^3.9.0",
|
"less": "^3.9.0",
|
||||||
|
|
Loading…
Reference in a new issue