From 6f5bcb60d0a71678c79c1450e5cc81eb8ee757bd Mon Sep 17 00:00:00 2001
From: hit-cxf <2024111082@stu.hit.edu.cn>
Date: Tue, 02 Jun 2026 23:48:05 +0800
Subject: [PATCH] Modify front-end settings and add bilingual explanations in Chinese and English
---
video-claw/video-claw/backend/api/routers/configuration.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/video-claw/video-claw/backend/api/routers/configuration.py b/video-claw/video-claw/backend/api/routers/configuration.py
index 9fdd11f..156d789 100644
--- a/video-claw/video-claw/backend/api/routers/configuration.py
+++ b/video-claw/video-claw/backend/api/routers/configuration.py
@@ -3,7 +3,7 @@
from fastapi import APIRouter
from pydantic import BaseModel, Field
-from api.logging_config import apply_access_log_setting
+from api.logging_config import apply_access_log_setting, apply_log_level_setting
from config import Config, CONFIG_PATH
router = APIRouter(tags=["Configuration"])
@@ -24,6 +24,7 @@
@router.put("/api/config")
async def update_config(req: ConfigUpdateRequest):
config = Config.update_config(req.values)
+ apply_log_level_setting()
apply_access_log_setting()
return {
"config": config,
--
Gitblit v1.8.0