From 3bdb660b8a4e209925d883aceecb34af0677db0b Mon Sep 17 00:00:00 2001 From: multipleof4 <179018396+multipleof4@users.noreply.github.com> Date: Mon, 28 Sep 2026 14:08:43 +0000 Subject: [PATCH] chore(build): update dist --- dist/newsletter/index.html | 11 +++++++++-- dist/rss.xml | 2 +- dist/sitemap.xml | 8 ++++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/dist/newsletter/index.html b/dist/newsletter/index.html index 5b91f35..cee79f6 100644 --- a/dist/newsletter/index.html +++ b/dist/newsletter/index.html @@ -85,22 +85,27 @@ this.error = ''; this.ok = false; this.loading = true; + const token = () => this.$el.querySelector('[name=cf-turnstile-response]')?.value; + for (let i = 0; i < 50 && !token(); i++) await new Promise((r) => setTimeout(r, 100)); try { const res = await fetch('https://newsletter.planetrenox.com/api/sub', { method: 'POST', headers: { 'Content-Type': 'application/json' }, - body: JSON.stringify({ pool: 'apophenia', email: this.email }) + body: JSON.stringify({ pool: 'apophenia', email: this.email, token: token() || '' }) }); const data = await res.json(); if (res.ok && data.ok) { this.ok = true; this.email = ''; } else { - this.error = data.error === 'invalid email' ? 'That email doesn\'t look right.' : 'Something went wrong. Please try again.'; + this.error = data.error === 'invalid email' ? 'That email doesn\'t look right.' + : data.error === 'captcha failed' ? 'Couldn\'t verify you\'re human. Please try again.' + : 'Something went wrong. Please try again.'; } } catch (e) { this.error = 'Network error. Please try again.'; } + window.turnstile?.reset(); this.loading = false; } }" @@ -126,6 +131,7 @@ +

@@ -138,6 +144,7 @@

Unsubscribe anytime. We never share your email.

+ diff --git a/dist/rss.xml b/dist/rss.xml index b338f32..e5f54ba 100644 --- a/dist/rss.xml +++ b/dist/rss.xml @@ -5,7 +5,7 @@ https://apophenia.news/ Signals, anomalies, civilization trajectories, and deep pattern analysis. en-us - Wed, 23 Sep 2026 20:33:19 GMT + Mon, 28 Sep 2026 14:08:39 GMT My Theory of Everything https://apophenia.news/my-theory-of-everything/ diff --git a/dist/sitemap.xml b/dist/sitemap.xml index 0eaba0a..6a002f8 100644 --- a/dist/sitemap.xml +++ b/dist/sitemap.xml @@ -2,19 +2,19 @@ https://apophenia.news/ - 2026-09-23 + 2026-09-28 https://apophenia.news/newsletter/ - 2026-09-23 + 2026-09-28 https://apophenia.news/write/ - 2026-09-23 + 2026-09-28 https://apophenia.news/author/renox/ - 2026-09-23 + 2026-09-28 https://apophenia.news/my-theory-of-everything/