mirror of
https://github.com/therootcompany/telebit.git
synced 2025-02-26 14:58:09 +00:00
bugfix string dereference
This commit is contained in:
parent
1d71b24ccf
commit
9f3f599bf3
@ -104,7 +104,11 @@ func main() {
|
||||
defer store.Close()
|
||||
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user