mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Move of API folder from /app/front/api to app/api
This commit is contained in:
@@ -100,7 +100,7 @@ class api_endpoint_class:
|
||||
# check if API endpoints have changed or if it's a new one
|
||||
if not found or changed:
|
||||
|
||||
mylog('verbose', [f'[API] Updating {self.fileName} file in /front/api'])
|
||||
mylog('verbose', [f'[API] Updating {self.fileName} file in /api'])
|
||||
|
||||
write_file(self.path, json.dumps(self.jsonData))
|
||||
|
||||
|
||||
@@ -13,7 +13,8 @@ dbPath = '/db/' + dbFileName
|
||||
|
||||
pluginsPath = applicationPath + '/front/plugins'
|
||||
logPath = applicationPath + '/front/log'
|
||||
apiPath = applicationPath + '/front/api/'
|
||||
# apiPath = applicationPath + '/api/'
|
||||
apiPath = applicationPath + '/api/'
|
||||
reportTemplatesPath = applicationPath + '/front/report_templates/'
|
||||
fullConfFolder = applicationPath + '/config'
|
||||
fullConfPath = applicationPath + confPath
|
||||
|
||||
Reference in New Issue
Block a user