mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
341 B
15 lines
341 B
2 years ago
|
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")
|
||
|
)
|