diff options
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/sparkled/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/sparkled/main.go b/cmd/sparkled/main.go index 5eec970..7bec1b7 100644 --- a/cmd/sparkled/main.go +++ b/cmd/sparkled/main.go @@ -3,8 +3,10 @@ package main import ( "log" "net/http" + "os" "github.com/xlgmokha/x/pkg/env" + "github.com/xlgmokha/x/pkg/x" "gitlab.com/gitlab-org/software-supply-chain-security/authorization/sparkled/app" ) @@ -14,6 +16,6 @@ func main() { log.Fatal(http.ListenAndServe( bindAddr, - app.New(), + app.New(x.Must(os.Getwd())), )) } |
