Implements download link for nindex records

This commit is contained in:
Matteo Biscosi 2021-04-08 09:37:35 +02:00
parent 15c669daa9
commit 69724f8cdd
2 changed files with 15 additions and 1 deletions

View file

@ -4143,6 +4143,20 @@ end
-- ###########################################
function build_query_params(params)
local query = "?"
local t = {}
for key, value in pairs(params) do
t[#t+1] = string.format("%s=%s", key, value)
end
return query .. table.concat(t, '&')
end
-- ###########################################
function create_ndpi_proto_name(v)
local app = ""