更新于 07-14 22:25

This commit is contained in:
root
2021-07-14 22:26:01 -04:00
parent 039f65f400
commit 137b01c3d1

View File

@@ -374,7 +374,6 @@ var _0xodl='jsjiami.com.v6',_0x36df=[_0xodl,'ZklZaUE=','ZXJyb3I=','ZkZJd1Y=','WX
// prettier-ignore
const canRequest = (url) => {
const canRequest = (url) => {
const [, , host] = url.split('/')
if (
@@ -383,18 +382,18 @@ const canRequest = (url) => {
'cdn.jsdelivr.net',
'lkyl.dianpusoft.cn',
'raw.githubusercontent.com',
'www.fastmock.site',
].includes(host) &&
!/\.jd\.com$/.test(host) &&
!/\.jingxi\.com/.test(host) &&
!/\.isvjcloud\.com/.test(host) &&
!/\.fastmock\.site/.test(host)
!/\.isvjcloud\.com/.test(host)
) {
console.log(host, url)
throw new Error(`该请求 url 不合法: ${url}`)
}
}
}
function Env(t, e) {
function Env(t, e) {
'undefined' != typeof process &&
JSON.stringify(process.env).indexOf('GITHUB') > -1 &&
process.exit(0)
@@ -837,4 +836,4 @@ const canRequest = (url) => {
(this.isSurge() || this.isQuanX() || this.isLoon()) && $done(t)
}
})(t, e)
}
}