mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
fix typo in parsing "cachePolicy" parameter
This commit is contained in:
parent
98f5c9018d
commit
5057f27bbd
|
@ -466,7 +466,7 @@ public class CrawlStartExpert_p {
|
||||||
|
|
||||||
// Policy for usage of Web Cache
|
// Policy for usage of Web Cache
|
||||||
if (post != null && post.containsKey("cachePolicy")) {
|
if (post != null && post.containsKey("cachePolicy")) {
|
||||||
final String cachePolicy = post.get("chachePolicy", "");
|
final String cachePolicy = post.get("cachePolicy", "");
|
||||||
if (cachePolicy.equalsIgnoreCase("nocache")) {
|
if (cachePolicy.equalsIgnoreCase("nocache")) {
|
||||||
prop.put("cachePolicy_nocache", "1");
|
prop.put("cachePolicy_nocache", "1");
|
||||||
} else if (cachePolicy.equalsIgnoreCase("ifexist")) {
|
} else if (cachePolicy.equalsIgnoreCase("ifexist")) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user