Add ability to create archives of servers, add GET and POST /api/servers/:server/archive routes to get and request an archive of a server

This commit is contained in:
Matthew Penner
2020-04-03 23:17:26 -06:00
parent 5fd138e188
commit 3dba11ac6f
8 changed files with 244 additions and 39 deletions

View File

@@ -54,7 +54,7 @@ func main() {
config.Set(c)
config.SetDebugViaFlag(debug)
zap.S().Infof("checking for pterodactyl system user \"%s\"", c.System.User)
zap.S().Infof("checking for pterodactyl system user \"%s\"", c.System.Username)
if su, err := c.EnsurePterodactylUser(); err != nil {
zap.S().Panicw("failed to create pterodactyl system user", zap.Error(err))
return