refactor: added `robots.txt` to disallow indexing

This commit is contained in:
Yurii
2025-02-14 23:43:25 +03:00
parent 2e5e5e59a8
commit 0c778d4c7f
3 changed files with 7 additions and 0 deletions

View File

@@ -859,6 +859,7 @@ protected:
}
});
this->webServer->serveStatic("/robots.txt", LittleFS, "/static/robots.txt", PORTAL_CACHE);
this->webServer->serveStatic("/favicon.ico", LittleFS, "/static/images/favicon.ico", PORTAL_CACHE);
this->webServer->serveStatic("/static", LittleFS, "/static", PORTAL_CACHE);
}