mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add button to export user script conf. New endpoint to set user scripts configuration.
This commit is contained in:
parent
33828c55e8
commit
3ce84b07cf
6 changed files with 109 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ if not haveAdminPrivileges() then
|
|||
return
|
||||
end
|
||||
|
||||
sendHTTPHeader('application/json')
|
||||
sendHTTPContentTypeHeader('application/json', 'attachment; filename="scripts_configuration.json"')
|
||||
|
||||
local conf = user_scripts.getConfigsets()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue