- add file based cert

- print out the exposed address
- handle empty exposed address
This commit is contained in:
Zoltan Papp
2024-07-03 15:03:57 +02:00
parent 15a7b7629b
commit 1a5ee744a8
5 changed files with 56 additions and 5 deletions
+4
View File
@@ -107,3 +107,7 @@ func (r *Relay) handShake(conn net.Conn) ([]byte, error) {
}
return peerID, nil
}
func (r *Relay) InstanceURL() string {
return r.instaceURL
}
+4
View File
@@ -83,3 +83,7 @@ func (r *Server) Close() error {
err := errors.Join(wErr, uErr)
return err
}
func (r *Server) InstanceURL() string {
return r.relay.instaceURL
}