fix(relay-server): make portal link protocol-relative in view.go

Remove "https:" prefix from the link generation in convertLeaseEntriesToRows function to create a protocol-relative URL, allowing it to inherit the protocol (http or https) from the current page for better flexibility and security.

lemon-mint committed Nov 6, 2025 at 14:23 UTC 2495966e08f545a47a94b366cd03170a2afab2a3
1 file changed +1 -1
cmd/relay-server/view.go
+1 -1
@@ -235,7 +235,7 @@ func convertLeaseEntriesToRows(serv *portal.RelayServer) []leaseRow {
235 dnsLabel = dnsLabel[:8] + "..."
236 }
237
238 - link := fmt.Sprintf("https://%s.%s/", lease.Name, portalDomain)
238 + link := fmt.Sprintf("//%s.%s/", lease.Name, portalDomain)
239
240 row := leaseRow{
241 Peer: identityID,