Refactor web #26
1
main.go
1
main.go
@@ -51,6 +51,7 @@ func main() {
|
||||
// create the download manager
|
||||
downloadManager := &download.Manager{MaxPerDomain: configService.Config.Server.MaximumActiveDownloads}
|
||||
|
||||
// create the web handlers
|
||||
r := web.CreateRoutes(configService, downloadManager, versionInfo)
|
||||
|
||||
srv := &http.Server{
|
||||
|
||||
Reference in New Issue
Block a user