From 8506b0853cef733b3c3642bdc2d3153a5e647316 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 20 Aug 2016 16:59:41 +0800 Subject: [PATCH] robots.txt route added --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 29c881e..5b24620 100644 --- a/main.cpp +++ b/main.cpp @@ -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: ";