mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
Move of API folder from /app/front/api to app/api
This commit is contained in:
@@ -45,7 +45,7 @@ function jsonResponse($status, $data = '', $message = '') {
|
||||
if ($method === 'GET') {
|
||||
checkAuthorization($method);
|
||||
|
||||
$file_path = "/app/front/api/table_devices.json";
|
||||
$file_path = "/app/api/table_devices.json";
|
||||
|
||||
$data = file_get_contents($file_path);
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ def main():
|
||||
# PUSHING/SENDING devices
|
||||
if send_devices:
|
||||
|
||||
file_path = f"{INSTALL_PATH}/front/api/table_devices.json"
|
||||
file_path = f"{INSTALL_PATH}/api/table_devices.json"
|
||||
plugin_folder = 'sync'
|
||||
pref = 'SYNC'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user