mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
flattener: Recompile with latest gopherjs (#1635)
This commit is contained in:
@@ -100,7 +100,7 @@ func renderResults() {
|
||||
content += fmt.Sprintf(`
|
||||
<h3> %s flattened (length %d, %d lookups)</h3><code>%s</code>
|
||||
`, mode, len(flat.TXT()), lookups, flat.TXT())
|
||||
split := flat.TXTSplit("_spf%d." + domain)
|
||||
split := flat.TXTSplit("_spf%d."+domain, 0, 255)
|
||||
if len(split) > 1 {
|
||||
lookups += len(split) - 1
|
||||
content += fmt.Sprintf("<h3>%s flattened split (%d lookups)</h3>", mode, lookups)
|
||||
|
||||
Reference in New Issue
Block a user