robots.txt route added

This commit is contained in:
moneroexamples 2016-08-20 16:59:41 +08:00
parent 21fa0ba416
commit 8506b0853c

View file

@ -145,7 +145,7 @@ int main(int ac, const char* av[]) {
return xmrblocks.search(string(req.url_params.get("value")));
});
CROW_ROUTE(app, "/tx/robots.txt")
CROW_ROUTE(app, "/robots.txt")
([&]() {
string text = "User-agent: *\n"
"Disallow: ";