mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Added url pattern
This commit is contained in:
parent
61afd6eadc
commit
ab957705d1
1 changed files with 6 additions and 0 deletions
|
|
@ -561,6 +561,12 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function getURLPathPattern()
|
||||
return "^\\/lua\\/[^\\/]+\\.lua(/?.*)?$"
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function getRestUrl(script, is_pro, is_enterprise)
|
||||
if is_enterprise then
|
||||
return (ntop.getHttpPrefix() .. "/lua/enterprise/rest/v2/get/" .. script)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue