Loading plugins/content/content.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -624,7 +624,7 @@ namespace blogi { }else if (strncmp(curl.c_str(), Args->config->buildurl("content/del",url,512), strlen(Args->config->buildurl("content/del",url,512))) == 0) { delPostPage(curcon, req,page); }else if (strstr(req->getRequestURL(),"robots.txt")){ const char *robot = "User-agent: *\r\nDisallow: /blog/settings"; const char *robot = "user-agent: *\r\ndisallow: /blog/settings/"; libhttppp::HttpResponse resp; resp.setVersion(HTTPVERSION(1.1)); resp.setState(HTTP200); Loading Loading
plugins/content/content.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -624,7 +624,7 @@ namespace blogi { }else if (strncmp(curl.c_str(), Args->config->buildurl("content/del",url,512), strlen(Args->config->buildurl("content/del",url,512))) == 0) { delPostPage(curcon, req,page); }else if (strstr(req->getRequestURL(),"robots.txt")){ const char *robot = "User-agent: *\r\nDisallow: /blog/settings"; const char *robot = "user-agent: *\r\ndisallow: /blog/settings/"; libhttppp::HttpResponse resp; resp.setVersion(HTTPVERSION(1.1)); resp.setState(HTTP200); Loading