mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-11-10 21:21:13 +08:00
feat: Fix the issue where website configuration files fail to restore from backups. (#13445)
This commit is contained in:
1 parent
60d16609f7
commit
c28047374a
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user