mirror of
https://github.com/perlbot/perlbuut-pastebin
synced 2025-06-07 14:17:26 -04:00
Add robots.txt to disallow all
This commit is contained in:
parent
e97952f536
commit
30542a13db
1 changed files with 8 additions and 0 deletions
8
app.pl
8
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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue