Merge pull request #1410 from ajnavarro/web-enabled-url-fix

Fix enabled Web UI url log
This commit is contained in:
Kuba Podgórski 2021-02-10 13:40:22 +01:00 • committed by GitHub
commit efc598a68b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -502,9 +502,7 @@ type statikHandler struct {
func newStatikHandler(h *Handler) statikHandler {
fs, err := h.fileSystem.New()
if err == nil {
// TODO: we need to change the way this works because we don't have a node yet.
//h.logger.Printf("enabled Web UI (%s) at %s", h.api.LatticeVersion(), h.api.Node().URI)
h.logger.Printf("enabled Web UI (%s) at %s", h.api.LatticeVersion(), "TODO")
h.logger.Printf("enabled Web UI (%s) at %s", h.api.LatticeVersion(), h.ln.Addr().String())
}
return statikHandler{