diff --git a/front/report_templates/report_template.html b/front/report_templates/report_template.html
index 920d9156..58c600bd 100755
--- a/front/report_templates/report_template.html
+++ b/front/report_templates/report_template.html
@@ -26,8 +26,8 @@
|
NEW_VERSION
- | Sent: REPORT_DATE
- | Server: SERVER_NAME
+ | Sent: REPORT_DATE
+ | Server: SERVER_NAME
| Built: BUILD_DATE
| Version: BUILD_VERSION
|
diff --git a/server/api_server/sync_endpoint.py b/server/api_server/sync_endpoint.py
index 883a8645..d756d286 100755
--- a/server/api_server/sync_endpoint.py
+++ b/server/api_server/sync_endpoint.py
@@ -11,7 +11,11 @@ INSTALL_PATH = os.getenv("NETALERTX_APP", "/app")
def handle_sync_get():
"""Handle GET requests for SYNC (NODE → HUB)."""
- file_path = INSTALL_PATH + "/api/table_devices.json"
+
+ # get all dwevices from the api endpoint
+ api_path = os.environ.get('NETALERTX_API', '/tmp/api')
+
+ file_path = f"/{api_path}/table_devices.json"
try:
with open(file_path, "rb") as f: