mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-03-31 07:12:23 -07:00
FE+BE: BACKEND_API_URL for reverse proxies #1390
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -270,6 +270,15 @@ def importConfigs(pm, db, all_plugins):
|
||||
"[]",
|
||||
"General",
|
||||
)
|
||||
conf.BACKEND_API_URL = ccd(
|
||||
"BACKEND_API_URL",
|
||||
"",
|
||||
c_d,
|
||||
"API URL",
|
||||
'{"dataType":"string", "elements": [{"elementType" : "input", "elementOptions" : [] ,"transformers": []}]}',
|
||||
"[]",
|
||||
"General",
|
||||
)
|
||||
conf.DAYS_TO_KEEP_EVENTS = ccd(
|
||||
"DAYS_TO_KEEP_EVENTS",
|
||||
90,
|
||||
|
||||
Reference in New Issue
Block a user