Skip to content

Commit

Permalink
updated the path from whihc certificates are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Skarlso committed Jun 17, 2024
1 parent b4f7979 commit ffac062
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func init() {
// Server Configs
flag.BoolVar(&rootArgs.server.Debug, "debug", false, "--debug")
flag.BoolVar(&rootArgs.server.Insecure, "insecure", false, "--insecure")
flag.StringVar(&rootArgs.server.KeyFile, "key-file", "", "--key-file /home/user/.server/server.key")
flag.StringVar(&rootArgs.server.CertFile, "cert-file", "", "--cert-file /home/user/.server/server.crt")
flag.StringVar(&rootArgs.server.KeyFile, "key-file", "", "--key-file /certs/key.pem")
flag.StringVar(&rootArgs.server.CertFile, "cert-file", "", "--cert-file /certs/cert.pem")
flag.StringVar(&rootArgs.server.Addr, "hostname", ":9998", "--hostname :9998")
}

Expand Down

0 comments on commit ffac062

Please sign in to comment.