mirror of https://github.com/1Panel-dev/1Panel
15 lines
341 B
Go
15 lines
341 B
Go
package constant
|
|
|
|
import (
|
|
"path"
|
|
)
|
|
|
|
var (
|
|
DefaultDataDir = "/opt/1Panel/data"
|
|
ResourceDir = path.Join(DefaultDataDir, "resource")
|
|
AppResourceDir = path.Join(ResourceDir, "apps")
|
|
AppInstallDir = path.Join(DefaultDataDir, "apps")
|
|
BackupDir = path.Join(DefaultDataDir, "backup")
|
|
AppBackupDir = path.Join(BackupDir, "apps")
|
|
)
|