From a2f9ee986dd61a4121eb73a66177aa0a0db0782a Mon Sep 17 00:00:00 2001 From: Jone2008 <70353049+Jone2008@users.noreply.github.com> Date: Sat, 28 Nov 2020 13:46:19 +0800 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) })