diff --git a/api/wtp-udock-coverage.php b/api/wtp-udock-coverage.php index 06090f5ab..74f7eff0a 100644 --- a/api/wtp-udock-coverage.php +++ b/api/wtp-udock-coverage.php @@ -11,6 +11,8 @@ header('X-WTP-UDOCK-V', '1'); $DIR = '/var/www/html'; $NAV_PATTERNS = ['wtp-unified-dock.js', 'opus-xlinks', 'wtp-sidebar', 'v130-xnav']; $EXCLUDE = ['.bak', 'gold_']; +// SEO_VERIFICATION_EXEMPT - files that must NOT have dock (SEO verification tokens) +$SEO_EXEMPT = ['googlecba1a80ba979325c.html', 'google-site-verification.html']; $files = glob($DIR . '/*.html') ?: []; $total = 0; @@ -25,6 +27,8 @@ foreach ($files as $f) { $name = basename($f); $skip = false; foreach ($EXCLUDE as $ex) { if (strpos($name, $ex) !== false) { $skip = true; break; } } + // SEO exempt: don't count these in total (they must stay minimal) + if (in_array($name, $SEO_EXEMPT)) { $skip = true; } if ($skip || strpos($name, '_') === 0) continue; $total++; diff --git a/googlecba1a80ba979325c.html b/googlecba1a80ba979325c.html index d1af23f46..01ffb96e4 100644 --- a/googlecba1a80ba979325c.html +++ b/googlecba1a80ba979325c.html @@ -1 +1,3 @@ google-site-vérification: googlecba1a80ba979325c.html + +