From 5e2cf6c9e7b05403dd19c9e3420780add1113663 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 18 Jun 2024 06:21:44 +0300 Subject: Additional `noindex` headers --- src/main/java/com/juick/www/controllers/SignUp.java | 1 + src/main/java/com/juick/www/controllers/Site.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/com/juick/www/controllers/SignUp.java b/src/main/java/com/juick/www/controllers/SignUp.java index 81017983..dddefef3 100644 --- a/src/main/java/com/juick/www/controllers/SignUp.java +++ b/src/main/java/com/juick/www/controllers/SignUp.java @@ -92,6 +92,7 @@ public class SignUp { model.addAttribute("account", account); model.addAttribute("type", type); model.addAttribute("hash", hash); + model.addAttribute("headers", ""); return "views/signup"; } diff --git a/src/main/java/com/juick/www/controllers/Site.java b/src/main/java/com/juick/www/controllers/Site.java index 43a4ebc8..c5074547 100644 --- a/src/main/java/com/juick/www/controllers/Site.java +++ b/src/main/java/com/juick/www/controllers/Site.java @@ -595,7 +595,7 @@ public class Site { fillUserModel(model, visitor, visitor); visitor.setAvatar(webApp.getAvatarWebPath(visitor)); model.addAttribute("title", "Написать"); - model.addAttribute("headers", ""); + model.addAttribute("headers", ""); model.addAttribute("visitor", visitor); if (body == null) { body = StringUtils.EMPTY; -- cgit v1.2.3