mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
robots.txt enabled
This commit is contained in:
parent
73eeb7321f
commit
997eed7403
1 changed files with 6 additions and 6 deletions
12
main.cpp
12
main.cpp
|
@ -223,12 +223,12 @@ 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, "/robots.txt")
|
CROW_ROUTE(app, "/robots.txt")
|
||||||
// ([&]() {
|
([&]() {
|
||||||
// string text = "User-agent: *\n"
|
string text = "User-agent: *\n"
|
||||||
// "Disallow: ";
|
"Disallow: ";
|
||||||
// return text;
|
return text;
|
||||||
// });
|
});
|
||||||
|
|
||||||
CROW_ROUTE(app, "/autorefresh")
|
CROW_ROUTE(app, "/autorefresh")
|
||||||
([&]() {
|
([&]() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue