summaryrefslogtreecommitdiff
path: root/app/app.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-31 16:09:12 -0600
committermo khan <mo@mokhan.ca>2025-07-31 16:09:12 -0600
commit311603d0c0b04d451e9fb8e5e8335dca8425e2c4 (patch)
treef38db8e10c4b55aef21c96c30fc71278c6e3d5c6 /app/app.go
parentebb003ef2beaeee61104d6b88a342c5c9fa73b51 (diff)
Connect to postgresql
Diffstat (limited to 'app/app.go')
-rw-r--r--app/app.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/app.go b/app/app.go
index 9ccdaba..ad92028 100644
--- a/app/app.go
+++ b/app/app.go
@@ -9,6 +9,7 @@ import (
"github.com/xlgmokha/x/pkg/log"
"github.com/xlgmokha/x/pkg/x"
"gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/dashboard"
+ "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/health"
"gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/controllers/sparkles"
"gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app/middleware"
)
@@ -22,6 +23,7 @@ func New(rootDir string) http.Handler {
mountable := []Mountable{
ioc.MustResolve[*dashboard.Controller](ioc.Default),
+ ioc.MustResolve[*health.Controller](ioc.Default),
ioc.MustResolve[*sparkles.Controller](ioc.Default),
}
for _, m := range mountable {