Merge pull request #201 from Jone2008/patch-1

Update index.js
This commit is contained in:
lxk0301
2020-11-28 17:21:20 +08:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ exports.main_handler = async (event, context, callback) => {
// eval(response.body)
//})
//3.执行github远端的js文件(因github的raw类型的文件被墙,此方法云函数)
//3.执行github远端的js文件(因github的raw类型的文件被墙,此方法云函数不推荐)
request('https://raw.githubusercontent.com/lxk0301/jd_scripts/master/' + v + '.js', function (error, response, body) {
eval(response.body)
})