adds human.txt, site.txt, and 404.html

This commit is contained in:
2024-01-23 19:45:10 -06:00
parent b78cdf6a74
commit a055940bf6
7 changed files with 113 additions and 7 deletions

View File

@@ -58,7 +58,7 @@ func main() {
if len(cves) == 0 {
if err := dns.UpdateTXT("istheinternetonfire.app", "TXT", "Safe for now!"); err != nil {
config.Cfg.Log.Error("unable to update dns record", "error", err)
time.Sleep(time.Second * time.Duration(config.Cfg.RefreshSeconds))
time.Sleep(time.Second * time.Duration(5*60))
continue
}
} else if len(cves) < 3 {
@@ -71,7 +71,7 @@ func main() {
}
if err := dns.UpdateTXT("istheinternetonfire.app", "TXT", txtData); err != nil {
config.Cfg.Log.Error("unable to update dns record", "error", err)
time.Sleep(time.Second * time.Duration(config.Cfg.RefreshSeconds))
time.Sleep(time.Second * time.Duration(5*60))
continue
}