modify local dev config & make openresty directy upload combine file to upyun

This commit is contained in:
liyong
2022-02-07 19:04:21 +08:00
committed by XiaoLi
parent 155bd693b2
commit 9355277bc0
7 changed files with 55 additions and 20 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
-- 指定模块引用目录,否则无法加载同目录下的其他文件
package.path = package.path .. ';/usr/local/openresty/nginx/scripts/?.lua';
package.path = package.path .. ';/usr/local/opt/openresty/nginx/scripts/?.lua';
local cjson = require "cjson"
local uuid = require "resty.jit-uuid"
local http = require "resty.http"