mirror of
https://github.com/lan-tianxiang/clone_scripts.git
synced 2026-04-03 21:13:28 +08:00
更新于 07-14 22:25
This commit is contained in:
@@ -373,7 +373,6 @@ var _0xodl='jsjiami.com.v6',_0x36df=[_0xodl,'ZklZaUE=','ZXJyb3I=','ZkZJd1Y=','WX
|
|||||||
|
|
||||||
|
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
const canRequest = (url) => {
|
|
||||||
const canRequest = (url) => {
|
const canRequest = (url) => {
|
||||||
const [, , host] = url.split('/')
|
const [, , host] = url.split('/')
|
||||||
|
|
||||||
@@ -383,11 +382,11 @@ const canRequest = (url) => {
|
|||||||
'cdn.jsdelivr.net',
|
'cdn.jsdelivr.net',
|
||||||
'lkyl.dianpusoft.cn',
|
'lkyl.dianpusoft.cn',
|
||||||
'raw.githubusercontent.com',
|
'raw.githubusercontent.com',
|
||||||
|
'www.fastmock.site',
|
||||||
].includes(host) &&
|
].includes(host) &&
|
||||||
!/\.jd\.com$/.test(host) &&
|
!/\.jd\.com$/.test(host) &&
|
||||||
!/\.jingxi\.com/.test(host) &&
|
!/\.jingxi\.com/.test(host) &&
|
||||||
!/\.isvjcloud\.com/.test(host) &&
|
!/\.isvjcloud\.com/.test(host)
|
||||||
!/\.fastmock\.site/.test(host)
|
|
||||||
) {
|
) {
|
||||||
console.log(host, url)
|
console.log(host, url)
|
||||||
throw new Error(`该请求 url 不合法: ${url}`)
|
throw new Error(`该请求 url 不合法: ${url}`)
|
||||||
|
|||||||
Reference in New Issue
Block a user