← back to Interiordesignershowroom
Remove AdSense loader + ads.txt (luxury/commerce surface, not in AdSense account) — staged; deploy is Steve-gated
e5b86aadf11b9e7b882d0a073229e91c26b5b0ad · 2026-08-05 11:38:35 -0700 · Steve
Files touched
M lib/render.jsM server.js
Diff
commit e5b86aadf11b9e7b882d0a073229e91c26b5b0ad
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Aug 5 11:38:35 2026 -0700
Remove AdSense loader + ads.txt (luxury/commerce surface, not in AdSense account) — staged; deploy is Steve-gated
---
lib/render.js | 1 -
server.js | 5 ++---
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/lib/render.js b/lib/render.js
index c116f2a..65f6310 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -287,7 +287,6 @@ 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 6b5d50f..fa3ecaa 100644
--- a/server.js
+++ b/server.js
@@ -117,9 +117,8 @@ 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'));
+// AdSense removed 2026-08-05 — luxury/commerce surface, not an ad site, and not
+// added to the AdSense account (DTD placement rule). No loader, no ads.txt.
app.get('/', async (_req, res, next) => {
try {
← 31b8301 AdSense: loader in head + /ads.txt (ca-pub-5278231299883833)
·
back to Interiordesignershowroom
·
hardening: branded 404 page + remove orphan public/js/cart.j cb035b8 →