Set default servers to tls://1.1.1.1 and tls://1.0.0.1

Also add support for tls:// in webUI API
This commit is contained in:
Eugene Bujak
2018-09-26 17:47:23 +03:00
parent 3afd8fccc7
commit ff86d6b7dc
3 changed files with 88 additions and 39 deletions

View File

@@ -6,6 +6,7 @@ import (
"fmt"
"io"
"net/http"
"os"
"path"
"runtime"
"sort"
@@ -259,5 +260,5 @@ func trace(format string, args ...interface{}) {
if len(text) == 0 || text[len(text)-1] != '\n' {
buf.WriteRune('\n')
}
fmt.Print(buf.String())
fmt.Fprint(os.Stderr, buf.String())
}