From a3e857f08949bd6370b4fcc691e7035a17ccdb28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 23 Jul 2023 23:35:15 +0800 Subject: [PATCH] restore --- scripts/lib/upyun.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/upyun.lua b/scripts/lib/upyun.lua index aa855b7..9647e84 100644 --- a/scripts/lib/upyun.lua +++ b/scripts/lib/upyun.lua @@ -410,8 +410,7 @@ local function _parse_upyun_option(option, extra, content) end if omd5 == "true" then - --extra["Content-MD5"] = md5(content) - extra["Content-MD5"] = "xyz" + extra["Content-MD5"] = md5(content) ngx.log(ngx.INFO, "Content-MD5" .. extra["Content-MD5"]) end