Validation
Some checks failed
release-nightly / build-docker (push) Has been cancelled

This commit is contained in:
2024-10-20 21:22:53 +08:00
parent a563c8f5bc
commit 799bfcc263
5 changed files with 65 additions and 27 deletions

View File

@@ -19,8 +19,8 @@ func NewServer() *HTTPApp {
app := fiber.New(fiber.Config{
DisableStartupMessage: true,
EnableIPValidation: true,
ServerHeader: "Hydrogen.Nexus",
AppName: "Hydrogen.Nexus",
ServerHeader: "Hypernet.Nexus",
AppName: "Hypernet.Nexus",
ProxyHeader: fiber.HeaderXForwardedFor,
JSONEncoder: json.Marshal,
JSONDecoder: json.Unmarshal,