MCPcopy Index your code
hub / github.com/Moli-X/Resources / CDN

Function CDN

Script/Parser.js:830–834  ·  view source on GitHub ↗
(cnt)

Source from the content-addressed store, hash-verified

828}
829
830function CDN(cnt) {
831 console.log("CDN start")
832 cnt = cnt.join("\n").replace(/https:\/\/raw.githubusercontent.com\/(.*?)\/(.*?)\/(.*)/gmi,"https://fastly.jsdelivr.net/gh/$1/$2@$3")
833 return cnt
834}
835
836// 指定节点 host 参数
837function HOST_Handle(cnt,phost) {

Callers 1

ResourceParseFunction · 0.85

Calls 2

logMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected