From bda087196968775e5b0a3e422a8657aa426de3f5 Mon Sep 17 00:00:00 2001 From: treamz Date: Sun, 22 Mar 2026 00:56:25 +0300 Subject: [PATCH] Fix: about section (remove duplicate stat, fix text), placeholder public --- lib/auth.js | 2 +- public/dashboard.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/auth.js b/lib/auth.js index bb3e296..4bbecac 100644 --- a/lib/auth.js +++ b/lib/auth.js @@ -3,7 +3,7 @@ * Public: landing page, auth routes, static assets, health, placeholder API. */ -const PUBLIC_PATHS = ['/', '/health', '/favicon.ico', '/status']; +const PUBLIC_PATHS = ['/', '/health', '/favicon.ico', '/status', '/placeholder']; const PUBLIC_API = ['/api/settings', '/api/tools', '/api/content/advantages', '/api/content/dashboard']; const PUBLIC_PREFIXES = ['/auth/', '/vendor/', '/placeholder-img/', '/status/']; const PUBLIC_FILES = ['/shared.css', '/shared.js', '/landing.html']; diff --git a/public/dashboard.html b/public/dashboard.html index b221082..132ae18 100644 --- a/public/dashboard.html +++ b/public/dashboard.html @@ -245,7 +245,7 @@ fetch('/api/content/dashboard').then(r => r.ok ? r.json() : []).then(blocks => { const h = document.querySelector('.about-card h2'); const p = document.querySelector('.about-card p'); if (h) h.textContent = about.title; - if (p) p.innerHTML = 'WA Dev Tools — ' + about.body; + if (p) p.textContent = about.body; } }).catch(() => {});