summaryrefslogtreecommitdiff
path: root/src/public/file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/public/file.rs')
-rw-r--r--src/public/file.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/public/file.rs b/src/public/file.rs
index 88b45b8..b796bc0 100644
--- a/src/public/file.rs
+++ b/src/public/file.rs
@@ -31,6 +31,10 @@ pub async fn favicon() -> Response {
super::serve("/favicon.ico").await
}
+pub async fn robots() -> Response {
+ super::serve("/robots.txt").await
+}
+
#[derive(Deserialize)]
pub struct AvatarRequest {
user_id: u64,