mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Add rest/v2/get/host/find.lua API
This commit is contained in:
parent
5a8f1b863a
commit
6174712fc2
5 changed files with 27 additions and 16 deletions
|
|
@ -999,7 +999,7 @@ if (not is_system_interface) then
|
|||
json_key = "ip",
|
||||
query_field = "host",
|
||||
class = "typeahead-dropdown-right",
|
||||
query_url = ntop.getHttpPrefix() .. "/lua/find_host.lua",
|
||||
query_url = ntop.getHttpPrefix() .. "/lua/rest/v2/get/host/find.lua",
|
||||
query_title = i18n("search_host"),
|
||||
style = "width: 16em;",
|
||||
before_submit = [[NtopUtils.makeFindHostBeforeSubmitCallback("]] .. ntop.getHttpPrefix() .. [[")]],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue