From 30542a13db177531f0323eb351a563d5900bfd9e Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Sun, 26 Jun 2016 13:47:39 -0400 Subject: [PATCH] Add robots.txt to disallow all --- app.pl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app.pl b/app.pl index 384df04..9989131 100755 --- a/app.pl +++ b/app.pl @@ -121,5 +121,13 @@ post '/eval' => sub { $c->render(json => {evalout => $output}); }; +get '/robots.txt' => sub { + my ($c) = @_; + + + $c->render(text => qq{User-agent: * +Disallow: /}); +}; + app->start;