summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/sparkled/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/sparkled/main.go b/cmd/sparkled/main.go
index 416cc9b..6235ada 100644
--- a/cmd/sparkled/main.go
+++ b/cmd/sparkled/main.go
@@ -5,6 +5,7 @@ import (
"net/http"
"github.com/xlgmokha/x/pkg/env"
+ "gitlab.com/mokhax/sparkled/pkg/db"
"gitlab.com/mokhax/sparkled/pkg/web"
)
@@ -14,6 +15,6 @@ func main() {
log.Fatal(http.ListenAndServe(
bindAddr,
- web.NewServer(nil),
+ web.New(db.NewRepository()),
))
}