Always use release mode
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"crypto/tls"
|
||||
"fmt"
|
||||
"github.com/apex/log"
|
||||
"github.com/gin-gonic/gin"
|
||||
"github.com/mitchellh/colorstring"
|
||||
"github.com/pterodactyl/wings/loggers/cli"
|
||||
"net/http"
|
||||
@@ -223,6 +224,8 @@ func rootCmdRun(*cobra.Command, []string) {
|
||||
"port": c.Api.Port,
|
||||
}).Info("configuring webserver...")
|
||||
|
||||
gin.SetMode("release")
|
||||
|
||||
r := router.Configure()
|
||||
addr := fmt.Sprintf("%s:%d", c.Api.Host, c.Api.Port)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user