Network config option and bump go ver with deps

This commit is contained in:
Laptop
2025-02-10 18:40:11 +02:00
parent 15c1136a65
commit 3be1bffd01
6 changed files with 51 additions and 36 deletions

View File

@@ -1036,5 +1036,5 @@ Disallow: /`)
if cfg.CodegenConfig {
log.Println("Warning: you have CodegenConfig enabled, but the config was loaded dynamically.")
}
log.Fatal(app.Listen(cfg.Addr, fiber.ListenConfig{EnablePrefork: cfg.Prefork, DisableStartupMessage: true}))
log.Fatal(app.Listen(cfg.Addr, fiber.ListenConfig{EnablePrefork: cfg.Prefork, DisableStartupMessage: true, ListenerNetwork: cfg.Network}))
}