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