mirror of
https://github.com/nkanaev/yarr.git
synced 2025-11-08 02:19:37 +00:00
rename handler -> server
This commit is contained in:
@@ -90,7 +90,7 @@ func main() {
|
||||
log.Fatal("Failed to initialise database: ", err)
|
||||
}
|
||||
|
||||
srv := server.New(store, addr)
|
||||
srv := server.NewServer(store, addr)
|
||||
|
||||
if certfile != "" && keyfile != "" {
|
||||
srv.CertFile = certfile
|
||||
|
||||
Reference in New Issue
Block a user