Update index.js

This commit is contained in:
Jone2008
2020-11-28 13:46:19 +08:00
committed by GitHub
parent e69c0c218d
commit e269d91fba

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)
})