bugfix string dereference

This commit is contained in:
AJ ONeal 2020-11-05 02:19:27 -07:00
parent 1d71b24ccf
commit 9f3f599bf3
1 changed files with 5 additions and 1 deletions

View File

@ -104,7 +104,11 @@ func main() {
defer store.Close() defer store.Close()
go func() { go func() {
http.ListenAndServe(":"+challengesPort, routeStatic()) fmt.Println("Listening for ACME challenges on :" + *challengesPort)
if err := http.ListenAndServe(":"+*challengesPort, routeStatic()); nil != err {
log.Fatal(err)
os.Exit(1)
}
}() }()
bind := *addr + ":" + *port bind := *addr + ":" + *port