1Panel/backend/constant/dir.go
2022-12-01 19:26:35 +08:00

13 lines
275 B
Go

package constant
import (
"path"
)
var (
DefaultDataDir = "/opt/1Panel/data"
LogDir = "opt/1Panel/log"
ResourceDir = path.Join(DefaultDataDir, "resource")
AppResourceDir = path.Join(ResourceDir, "apps")
AppInstallDir = path.Join(DefaultDataDir, "apps")
)