mirror of
https://github.com/gofiber/fiber.git
synced 2025-04-28 14:07:56 +00:00
🔌 Add IPv6 Support
Co-Authored-By: kiyon <kiyonlin@163.com>
This commit is contained in:
parent
b6f0d6c6ad
commit
d3dd32d9d1
2
app.go
2
app.go
@ -609,6 +609,8 @@ func (app *App) init() *App {
|
|||||||
fmt.Printf("views: %v\n", err)
|
fmt.Printf("views: %v\n", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// TCP4 -> tcp4
|
||||||
|
app.Settings.Network = utils.ToLower(app.Settings.Network)
|
||||||
}
|
}
|
||||||
if app.server == nil {
|
if app.server == nil {
|
||||||
app.server = &fasthttp.Server{
|
app.server = &fasthttp.Server{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user