add todos
This commit is contained in:
@@ -86,9 +86,9 @@ server {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/upt.lua;
|
||||
}
|
||||
|
||||
location /api/ngx/convert/test {
|
||||
content_by_lua_file $resty_loc/nginx/scripts/test.lua;
|
||||
}
|
||||
# location /api/ngx/convert/test {
|
||||
# content_by_lua_file $resty_loc/nginx/scripts/test.lua;
|
||||
# }
|
||||
|
||||
location /api/v1/ws/ {
|
||||
proxy_pass http://127.0.0.1:3001/api/v1/ws/;
|
||||
|
||||
@@ -4,6 +4,8 @@ local http = require "resty.http"
|
||||
local create_task = require "lib.create_task"
|
||||
local TaskTypes = require 'lib.task_type'
|
||||
|
||||
--todo: add verify
|
||||
|
||||
local httpc = http.new()
|
||||
ngx.req.read_body()
|
||||
local req_body = cjson.decode(ngx.req.get_body_data())
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
package.path = package.path .. ';<SCRIPT_PATH>/?.lua';
|
||||
|
||||
--todo: add verify
|
||||
|
||||
local Upt = require("lib.upt")
|
||||
local uri = ngx.unescape_uri(ngx.var.arg_uri)
|
||||
ngx.log(ngx.INFO, 'URI -> ' .. uri)
|
||||
|
||||
Reference in New Issue
Block a user