From d322c14fdbe70577b899ab01e3269426b809ac47 Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <1paneldev@sina.com> Date: Mon, 3 Aug 2026 14:18:02 +0800 Subject: [PATCH] feat: Fix the issue where website configuration files fail to restore from backups. --- agent/app/service/website_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/app/service/website_utils.go b/agent/app/service/website_utils.go index e1bc73b9d112..a3cacf45c92d 100644 --- a/agent/app/service/website_utils.go +++ b/agent/app/service/website_utils.go @@ -1560,7 +1560,7 @@ func GetSitePath(website model.Website, confType string) string { func GetConfDir(website model.Website) string { if website.Type != constant.Stream { - return GetOpenrestyDir(SiteConf) + return GetOpenrestyDir(SiteConfDir) } return GetOpenrestyDir(StreamDir) }