🔌 Add IPv6 Support

Co-Authored-By: kiyon <kiyonlin@163.com>
pull/601/head
Fenny 2020-07-14 04:02:05 +02:00
parent b6f0d6c6ad
commit d3dd32d9d1
1 changed files with 2 additions and 0 deletions

2
app.go
View File

@ -609,6 +609,8 @@ func (app *App) init() *App {
fmt.Printf("views: %v\n", err)
}
}
// TCP4 -> tcp4
app.Settings.Network = utils.ToLower(app.Settings.Network)
}
if app.server == nil {
app.server = &fasthttp.Server{