refactor: added `robots.txt` to disallow indexing

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

No files matched your search

+1
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);
}