mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
web: remove DataStore from Context and controllers for #81
This commit is contained in:
@@ -125,7 +125,7 @@ func main() {
|
||||
|
||||
// Start HTTP server
|
||||
mm := &message.StoreManager{Store: ds}
|
||||
web.Initialize(config.GetWebConfig(), shutdownChan, mm, ds, msgHub)
|
||||
web.Initialize(config.GetWebConfig(), shutdownChan, mm, msgHub)
|
||||
webui.SetupRoutes(web.Router)
|
||||
rest.SetupRoutes(web.Router)
|
||||
go web.Start(rootCtx)
|
||||
|
||||
Reference in New Issue
Block a user