feat/tsconnect-file-notify #1
@@ -388,7 +388,7 @@ func (i *jsIPN) run(jsCallbacks js.Value) {
|
||||
log.Printf("Could not generate JSON netmap: %v", err)
|
||||
}
|
||||
}
|
||||
if n.Prefs.Valid() {
|
||||
if n.Prefs != nil && n.Prefs.Valid() {
|
||||
jsCallbacks.Call("notifyExitNode", string(n.Prefs.ExitNodeID()))
|
||||
}
|
||||
if n.BrowseToURL != nil {
|
||||
|
||||
Reference in New Issue
Block a user