← back to Allnewsdaily
AdSense: loader + ads.txt (ca-pub-5278231299883833) — prep, not deployed
ef10de6adf8c1ab32a9744fd96fdf05a4bef1452 · 2026-08-04 16:49:33 -0700 · Steve Abrams
Files touched
M public/index.htmlM server.js
Diff
commit ef10de6adf8c1ab32a9744fd96fdf05a4bef1452
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 4 16:49:33 2026 -0700
AdSense: loader + ads.txt (ca-pub-5278231299883833) — prep, not deployed
---
public/index.html | 1 +
server.js | 2 ++
2 files changed, 3 insertions(+)
diff --git a/public/index.html b/public/index.html
index 3fc5e37..6b6de57 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,6 +6,7 @@
<title>All News Daily — global newsroom directory</title>
<meta name="description" content="Every major news outlet in the world — logo, link, and a red LIVE pill that glows when the network is broadcasting live." />
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='12' fill='%23dc2626'/%3E%3Ctext x='50%25' y='52%25' dominant-baseline='middle' text-anchor='middle' font-family='ui-sans-serif' font-weight='800' font-size='30' fill='white'%3EN%3C/text%3E%3C/svg%3E" />
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<style>
:root {
--bg: #0b0c10;
diff --git a/server.js b/server.js
index 9803b32..856ceed 100644
--- a/server.js
+++ b/server.js
@@ -48,6 +48,8 @@ app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'public', 'index.html'));
});
+app.get('/ads.txt', (_q, res) => res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0\n'));
+
app.get('/api/outlets', (req, res) => {
res.json({ outlets: mergeOutlets(), updatedAt: new Date().toISOString() });
});
← e17fb53 seo/a11y: add visually-hidden <h1> (site name) for heading s
·
back to Allnewsdaily
·
yoloforever C1 (DTD-B): add 3 original news-literacy guides d7d48fb →