Added defaults

Co-authored-by: Jakob <dev@schrej.net>
This commit is contained in:
Antony
2021-03-24 11:24:54 +01:00
committed by GitHub
parent 0c17e240f4
commit 52fcf1e37f

View File

@@ -247,7 +247,7 @@ type Configuration struct {
// if the debug flag is passed through the command line arguments.
Debug bool
AppName string `json:"app_name" yaml:"app_name"`
AppName string `default:"Pterodactyl" json:"app_name" yaml:"app_name"`
// A unique identifier for this node in the Panel.
Uuid string
@@ -619,4 +619,4 @@ func getSystemName() (string, error) {
return "", err
}
return release["ID"], nil
}
}