diff --git a/index.js b/index.js index be67f302..c70aaa66 100644 --- a/index.js +++ b/index.js @@ -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) })