use crate::config::*;
use crate::network;
use windmark::response::Response;
pub fn handler(_cfg: &Config) -> Result<Response, network::error::Error> {
let robots_txt = "User-agent: webproxy
Disallow: /
User-agent: *
Disallow: /users
Disallow: /*/*/src/branch/*
Disallow: /*raw
";
Ok(Response::success(robots_txt)
.with_mime("text/plain")
.to_owned())
}