Support disable spider.

pull/157/head
ruibaby 2019-05-14 10:26:32 +08:00
parent 9342fa7294
commit 1c1030fb67
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ public enum OtherProperties implements PropertyEnum {
/**
*
*/
SPIDER_DISABLE("spider_disable",Boolean.class,"false");
SPIDER_DISABLED("spider_disabled",Boolean.class,"false");
private final String value;

View File

@ -1,4 +1,4 @@
<#if options.spider_disable!false>
<#if options.spider_disabled!false>
User-agent: /
Disallow: /
<#else>