1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-01 07:27:46 +00:00

Add authentication by default

This commit is contained in:
Darren Shepherd
2020-05-30 19:02:49 -07:00
parent a8e9297258
commit 1336014def
2 changed files with 39 additions and 9 deletions

View File

@@ -35,6 +35,6 @@ func main() {
func run(_ *cli.Context) error {
ctx := signals.SetupSignalHandler(context.Background())
debugconfig.MustSetupDebug()
s := config.MustServer()
s := config.MustServer(ctx)
return s.ListenAndServe(ctx, config.HTTPSListenPort, config.HTTPListenPort, nil)
}