Commit 11227c02 authored by Matija Obreza's avatar Matija Obreza

robots.txt

parent b3d1ef18
......@@ -35,7 +35,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
public class RobotsTxtController {
@Value("${base.host}")
private final String host = "localhost";
private String host;
private static final String ROBOTS_ALLOW_ALL = "User-Agent: *\nAllow: /";
private static final String ROBOTS_DENY_ALL = "User-Agent: *\nDisallow: /";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment