← back to Interiordesignershowroom
AdSense: loader in head + /ads.txt (ca-pub-5278231299883833) — approved ad site
31b830113d7ae0c319260f94f78d0a6a382b4ddc · 2026-08-04 16:42:28 -0700 · Steve Abrams
Files touched
M lib/render.jsM server.js
Diff
commit 31b830113d7ae0c319260f94f78d0a6a382b4ddc
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Tue Aug 4 16:42:28 2026 -0700
AdSense: loader in head + /ads.txt (ca-pub-5278231299883833) — approved ad site
---
lib/render.js | 1 +
server.js | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/lib/render.js b/lib/render.js
index 65f6310..c116f2a 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -287,6 +287,7 @@ function layout({ title, description, canonical, jsonld, image, body, activeNav,
<link rel="stylesheet" href="${v('/css/site.css')}">
<script src="${v('/js/imgfallback.js')}"></script>
${(Array.isArray(jsonld) ? jsonld : [jsonld]).filter(Boolean).map((j) => `<script type="application/ld+json">${JSON.stringify(j).replace(/</g, '\\u003c')}</script>`).join('')}
+<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
diff --git a/server.js b/server.js
index a85aa1d..6b5d50f 100644
--- a/server.js
+++ b/server.js
@@ -117,6 +117,10 @@ function grid(products) {
// -------------------------- Routes ----------------------------------------
app.get('/healthz', (_req, res) => res.status(200).send('ok'));
+// AdSense ownership verification (this site is approved for ads).
+app.get('/ads.txt', (_req, res) =>
+ res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0\n'));
+
app.get('/', async (_req, res, next) => {
try {
const [{ rows: featured }, { rows: latest }, { rows: guides }] = await Promise.all([
← 160817d chore: bump v0.4.2 (session close) — GA4-under-CSP fix; qual
·
back to Interiordesignershowroom
·
Remove AdSense loader + ads.txt (luxury/commerce surface, no e5b86aa →