mirror of https://github.com/jlelse/GoBlog
Fix
This commit is contained in:
parent
41083cfb31
commit
d9afd0cb49
2
http.go
2
http.go
|
@ -77,7 +77,7 @@ func startServer() (err error) {
|
||||||
} else if appConfig.Server.SecurityHeaders {
|
} else if appConfig.Server.SecurityHeaders {
|
||||||
err = http.ListenAndServe(localAddress, finalHandler)
|
err = http.ListenAndServe(localAddress, finalHandler)
|
||||||
} else {
|
} else {
|
||||||
err = http.ListenAndServe(localAddress, d)
|
err = http.ListenAndServe(localAddress, finalHandler)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue