We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c79bac3 + 8c94ef7 commit 9d01775Copy full SHA for 9d01775
src/main.rs
@@ -163,6 +163,10 @@ async fn run_server(addr: SocketAddr) -> anyhow::Result<()> {
163
164
let app = Router::new()
165
.route("/", get(|| async { "Triagebot is awaiting triage." }))
166
+ .route(
167
+ "/robots.txt",
168
+ get(|| async { "User-Agent: *\nDisallow: /\n" }),
169
+ )
170
.route("/triage", get(triagebot::triage::index))
171
.route("/triage/{owner}/{repo}", get(triagebot::triage::pulls))
172
.route(
0 commit comments