diff --git a/public/images/ypb-1-2-5.gif b/public/images/ypb-1-2-5.gif new file mode 100644 index 0000000..558261f Binary files /dev/null and b/public/images/ypb-1-2-5.gif differ diff --git a/public/images/ypb-3-0-0.gif b/public/images/ypb-3-0-0.gif new file mode 100644 index 0000000..68c1cf9 Binary files /dev/null and b/public/images/ypb-3-0-0.gif differ diff --git a/public/images/ypb-3-3-6.gif b/public/images/ypb-3-3-6.gif new file mode 100644 index 0000000..3cd7061 Binary files /dev/null and b/public/images/ypb-3-3-6.gif differ diff --git a/public/images/ypb-4-6-8.gif b/public/images/ypb-4-6-8.gif new file mode 100644 index 0000000..d6294ca Binary files /dev/null and b/public/images/ypb-4-6-8.gif differ diff --git a/public/images/ypb-7-2-8.gif b/public/images/ypb-7-2-8.gif new file mode 100644 index 0000000..eb7f99e Binary files /dev/null and b/public/images/ypb-7-2-8.gif differ diff --git a/server.js b/server.js index f367dca..eb6e005 100644 --- a/server.js +++ b/server.js @@ -280,7 +280,7 @@ const server = http.createServer(async (req, res) => { return res.end('' + urls + ''); } if (p === '/robots.txt') { res.writeHead(200, headers({ 'Content-Type': 'text/plain; charset=utf-8' })); return res.end(C.staging ? 'User-agent: *\nDisallow: /\n' : 'User-agent: *\nAllow: /\nDisallow: /my\nDisallow: /admin\nDisallow: /api/\nDisallow: /go/\nDisallow: /sso/\n\nSitemap: https://' + C.site + '/sitemap.xml\n'); } - if (p.startsWith('/assets/') || p.startsWith('/art/') || p === '/favicon.ico') { + if (p.startsWith('/assets/') || p.startsWith('/art/') || p.startsWith('/images/') || p === '/favicon.ico') { // /images/ = the old site's banner files, still hotlinked by Network Ad Space ads (2026-11-19) const f = path.normalize(path.join(PUB, p === '/favicon.ico' ? '/art/icon-192.png' : p)); if (!f.startsWith(PUB + path.sep)) { res.writeHead(400); return res.end(); } return /\.(mp4|webm)$/i.test(f) ? sendMedia(req, res, f) : sendFile(res, f); }