mirror of https://github.com/gofiber/fiber.git
🧹 Fix typo
parent
d3dd32d9d1
commit
0429ac32d9
4
app.go
4
app.go
|
@ -490,8 +490,8 @@ func (app *App) Listen(address interface{}, tlsconfig ...*tls.Config) error {
|
|||
app.init()
|
||||
// Start prefork
|
||||
if app.Settings.Prefork {
|
||||
if app.Settings.Network == "ipv6" || isIPv6(addr) {
|
||||
log.Fatal("prefork does not support the ipv6 network")
|
||||
if app.Settings.Network == "tcp6" || isIPv6(addr) {
|
||||
log.Fatal("prefork does not support tcp6 networking")
|
||||
}
|
||||
return app.prefork(addr, tlsconfig...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue