💩 Clean up server header
All checks were successful
release-nightly / build-docker (push) Successful in 1m18s
All checks were successful
release-nightly / build-docker (push) Successful in 1m18s
This commit is contained in:
parent
f31d35c86c
commit
79e060da5d
@ -1,10 +1,8 @@
|
||||
package hypertext
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
roadsign "code.smartsheep.studio/goatworks/roadsign/pkg"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
"github.com/gofiber/fiber/v2/middleware/limiter"
|
||||
"github.com/gofiber/fiber/v2/middleware/logger"
|
||||
@ -15,7 +13,7 @@ import (
|
||||
func InitServer() *fiber.App {
|
||||
app := fiber.New(fiber.Config{
|
||||
AppName: "RoadSign",
|
||||
ServerHeader: fmt.Sprintf("RoadSign v%s", roadsign.AppVersion),
|
||||
ServerHeader: "RoadSign",
|
||||
DisableStartupMessage: true,
|
||||
EnableIPValidation: true,
|
||||
Prefork: viper.GetBool("performance.prefork"),
|
||||
|
@ -14,7 +14,7 @@ import (
|
||||
func InitSideload() *fiber.App {
|
||||
app := fiber.New(fiber.Config{
|
||||
AppName: "RoadSign Sideload",
|
||||
ServerHeader: fmt.Sprintf("RoadSign Sideload v%s", roadsign.AppVersion),
|
||||
ServerHeader: "RoadSign Sideload",
|
||||
DisableStartupMessage: true,
|
||||
EnableIPValidation: true,
|
||||
EnablePrintRoutes: viper.GetBool("debug.print_routes"),
|
||||
|
Loading…
Reference in New Issue
Block a user