mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 18:48:49 -04:00
fix(ui): fix current ip ipinfo.io href link (#529)
This commit is contained in:
@@ -29,7 +29,7 @@ func (r *Record) HTML(now time.Time) models.HTMLRow {
|
||||
}
|
||||
currentIP := r.History.GetCurrentIP()
|
||||
if currentIP.IsValid() {
|
||||
row.CurrentIP = `<a href="https://ipinfo.io/"` + currentIP.String() + `\>` + currentIP.String() + "</a>"
|
||||
row.CurrentIP = `<a href="https://ipinfo.io/` + currentIP.String() + `">` + currentIP.String() + "</a>"
|
||||
} else {
|
||||
row.CurrentIP = NotAvailable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user