Reinstate url hitcount (#393)

This commit is contained in:
Dominic Wong
2022-03-01 16:41:31 +00:00
committed by GitHub
parent 215473f871
commit 282ce31d13
5 changed files with 86 additions and 43 deletions

View File

@@ -16,7 +16,7 @@ func main() {
service.Name("url"),
service.Version("latest"),
)
h := handler.NewUrl()
h := handler.NewUrl(srv)
// Register handler
pb.RegisterUrlHandler(srv.Server(), h)
admin.RegisterAdminHandler(srv.Server(), h)