From 226e142e3e648e089c58f91fb9470abb97d137d5 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 May 2026 15:37:57 +0800 Subject: [PATCH] Add autoscript log viewer page in admin panel --- docker-compose.yml | 1 + docs/05-FEATURES.md | 1 + 2 files changed, 2 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index bfe460a0..a698fa22 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,6 +10,7 @@ services: dockerfile: Dockerfile volumes: - ./src:/var/www/html + - ./autoscript/:/var/log/sides/autoscript:ro - /etc/localtime:/etc/localtime:ro depends_on: postgres: diff --git a/docs/05-FEATURES.md b/docs/05-FEATURES.md index e87e42ea..ff820e58 100644 --- a/docs/05-FEATURES.md +++ b/docs/05-FEATURES.md @@ -97,6 +97,7 @@ These routes require both authentication and admin privileges (`admin` middlewar | `GET /stationmanagement/csvtemplate` | Download a sample CSV template for station imports. | | `POST /stationmanagement/{stationid}/update` | Edit an existing station. | | `DELETE /stationmanagement/{stationid}/delete` | Delete a station. | +| `GET /autoscriptlogs` | View data pipeline log files (error log and main log). | ### User Management