Always use release mode
This commit is contained in:
parent
7d4a8d7f7e
commit
b03aa20c8d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user