more code
This commit is contained in:
1 parent
a4578fb293
commit
6b2b60b9ef
4 files changed
+41
-4
No files matched your search
@@ -24,7 +24,8 @@ func GenerateCerts(tlsCert string, tlsKey string) {
|
||||
// Get the hostname
|
||||
hostname, err := os.Hostname()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
log.Printf("failed to lookup hostname: '%s'\n", err)
|
||||
hostname = "localhost"
|
||||
}
|
||||
|
||||
// Check that the directory exists
|
||||
|
||||
Reference in new issue
Block a user