mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
robots.txt route added
This commit is contained in:
parent
21fa0ba416
commit
8506b0853c
1 changed files with 1 additions and 1 deletions
2
main.cpp
2
main.cpp
|
@ -145,7 +145,7 @@ int main(int ac, const char* av[]) {
|
||||||
return xmrblocks.search(string(req.url_params.get("value")));
|
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"
|
string text = "User-agent: *\n"
|
||||||
"Disallow: ";
|
"Disallow: ";
|
||||||
|
|
Loading…
Reference in a new issue