Add files via upload

This commit is contained in:
gaotianliuyun
2023-04-24 13:39:13 +08:00
committed by GitHub
parent 1db485de74
commit ad7d4f928a
6 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import './util-ym.js';
import cheerio from 'assets://js/lib/cheerio.min.js';
import 'assets://js/lib/crypto-js.js'
// import muban from 'https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/js/模板.js';
// import muban from 'https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/js/模板.js';
// const key = 'drpy_zbk';
// eval(req('http://192.168.1.124:5705/libs/es6py.js').content);
@@ -1221,7 +1221,7 @@ function init(ext) {
try {
// make shared jsContext happy
if (typeof (globalThis.mubanJs) === 'undefined') {
let mubanJs = request('https://code.gitlink.org.cn/api/v1/repos/hjdhnx/dr_py/raw/master/js/模板.js', { 'User-Agent': MOBILE_UA });
let mubanJs = request('https://ghproxy.net/https://raw.githubusercontent.com/hjdhnx/dr_py/main/js/模板.js', { 'User-Agent': MOBILE_UA });
mubanJs = mubanJs.replace('export default', '(function() {return muban;}()) // export default');
globalThis.mubanJs = mubanJs;
}