1
0
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:
Tom Limoncelli
2022-07-20 10:47:06 -04:00
committed by GitHub
parent f6c3c99817
commit c4afb08bc4
6 changed files with 113365 additions and 86307 deletions

View File

@@ -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)