Revisão Logo, Favicon, Robots
This commit is contained in:
@@ -40,3 +40,7 @@ Thumbs.db
|
||||
|
||||
# Scripts de deploy local
|
||||
scripts/.env.local
|
||||
|
||||
# ZIPs internos (nunca commite!)
|
||||
*.zip
|
||||
avanzato-*.zip
|
||||
|
||||
+9
-4
@@ -11,6 +11,9 @@
|
||||
var h = location.hostname;
|
||||
var IS_PROD = h === 'avanzato.com.br' || h === 'www.avanzato.com.br';
|
||||
|
||||
// Torna disponivel para outros scripts
|
||||
window.__IS_PROD__ = IS_PROD;
|
||||
|
||||
// Se NAO for producao, desativa tracking globalmente
|
||||
if (!IS_PROD) {
|
||||
window.__AVANZATO_ENV__ = h === 'hml.avanzato.com.br' ? 'homologation' : 'development';
|
||||
@@ -105,9 +108,9 @@
|
||||
<!-- BLOQUEAR INDEXACAO EM HOMOLOGACAO -->
|
||||
<script>
|
||||
(function() {
|
||||
var hostname = window.location.hostname;
|
||||
if (hostname !== 'avanzato.com.br') {
|
||||
// Homologacao: bloquear indexacao
|
||||
// Usa IS_PROD ja definido no inicio do documento
|
||||
if (!window.__IS_PROD__) {
|
||||
// Homologacao/Desenvolvimento: bloquear indexacao
|
||||
document.getElementById('meta-robots').setAttribute('content', 'noindex, nofollow');
|
||||
document.getElementById('meta-googlebot').setAttribute('content', 'noindex, nofollow');
|
||||
// Adicionar tambem X-Robots-Tag via meta http-equiv
|
||||
@@ -115,7 +118,9 @@
|
||||
meta.httpEquiv = 'X-Robots-Tag';
|
||||
meta.content = 'noindex, nofollow';
|
||||
document.head.appendChild(meta);
|
||||
console.log('%c[SEO] Homologacao detectada - indexacao BLOQUEADA (noindex, nofollow)', 'background:#dc2626;color:#fff;font-weight:bold;padding:2px 6px;border-radius:3px');
|
||||
console.log('%c[SEO] ' + (window.__AVANZATO_ENV__ || 'nao-producao') + ' - indexacao BLOQUEADA', 'background:#dc2626;color:#fff;font-weight:bold;padding:2px 6px;border-radius:3px');
|
||||
} else {
|
||||
console.log('%c[SEO] Producao - indexacao PERMITIDA (index, follow)', 'background:#16a34a;color:#fff;font-weight:bold;padding:2px 6px;border-radius:3px');
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
# Release HML
|
||||
|
||||
Data: dom 31 mai 2026 00:28:41 -03
|
||||
|
||||
Ambiente:
|
||||
HML
|
||||
|
||||
Descrição:
|
||||
Revisão Logo, Favicon, Robots
|
||||
|
||||
Branch:
|
||||
develop
|
||||
|
||||
Arquivos alterados antes do commit:
|
||||
D infra/releases/2026-05-30_23-54-46_HML.md
|
||||
?? .github/
|
||||
?? .gitignore
|
||||
?? infra/releases/2026-05-31_00-28-41_HML.md
|
||||
|
||||
Status:
|
||||
Preparado para publicação
|
||||
|
||||
Commit:
|
||||
cb08c53b
|
||||
|
||||
Arquivos no commit:
|
||||
.github/workflows/README-CI-CD.md
|
||||
.github/workflows/deploy.yml
|
||||
.gitignore
|
||||
infra/releases/2026-05-30_23-54-46_HML.md
|
||||
infra/releases/2026-05-31_00-28-41_HML.md
|
||||
|
||||
Status final:
|
||||
Publicado no Gitea / aguardando pipeline HML
|
||||
@@ -0,0 +1,22 @@
|
||||
# Release HML
|
||||
|
||||
Data: dom 31 mai 2026 00:57:45 -03
|
||||
|
||||
Ambiente:
|
||||
HML
|
||||
|
||||
Descrição:
|
||||
Revisão Logo, Favicon, Robots
|
||||
|
||||
Branch:
|
||||
develop
|
||||
|
||||
Arquivos alterados antes do commit:
|
||||
M .gitignore
|
||||
M index.html
|
||||
D infra/releases/2026-05-31_00-28-41_HML.md
|
||||
M public/version.json
|
||||
?? infra/releases/2026-05-31_00-57-45_HML.md
|
||||
|
||||
Status:
|
||||
Preparado para publicação
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "1.2.1",
|
||||
"version": "1.2.2",
|
||||
"date": "2026-05-31",
|
||||
"environment": "auto-detect"
|
||||
}
|
||||
Reference in New Issue
Block a user