feat: Fix the issue where website configuration files fail to restore from backups. (#13445)

This commit is contained in:
CityFun
2026-08-03 15:26:20 +08:00
committed by GitHub
parent 60d16609f7
commit c28047374a
+1 -1
View File
@@ -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)
}