← back to Designerwallcoverings
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
a149d39e5081bfac4bef2b0317cded7482acaff2 · 2026-09-09 16:02:05 -0700 · Steve
Files touched
Diff
commit a149d39e5081bfac4bef2b0317cded7482acaff2
Author: Steve <steve@designerwallcoverings.com>
Date: Wed Sep 9 16:02:05 2026 -0700
TK-11341: add AdSense Auto-Ads loader + ads.txt (revert to remove ads)
---
server.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/server.js b/server.js
index 4e68f56..1035eef 100644
--- a/server.js
+++ b/server.js
@@ -47,6 +47,7 @@ const upload = multer({
});
const app = express();
+app.get('/ads.txt', (req, res) => res.type('text/plain').send('google.com, pub-5278231299883833, DIRECT, f08c47fec0942fa0'));
app.use(express.json({ limit: '2mb' }));
app.use((_req, res, next) => {
res.set('X-Content-Type-Options', 'nosniff');
@@ -262,6 +263,7 @@ function layout({ title, description, body, ogImage }) {
return `<!doctype html>
<html lang="en">
<head>
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>${esc(pageTitle)}</title>
@@ -394,6 +396,7 @@ footer.fp .legal { grid-column:1/-1; padding-top:28px; border-top:1px solid var(
</head>
<body>
<header class="mast">
+ <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833" crossorigin="anonymous"></script>
<div class="mast-inner">
<a href="/" class="brand">designerwallcoverings.ai<small>AI · ROOM · MATCH</small></a>
<nav class="types">
← a56189d TK-11331: exclude 731 MDC quote-only $4.25-leak products fro
·
back to Designerwallcoverings
·
Revert "TK-11331: exclude 731 MDC quote-only $4.25-leak prod 20524d3 →