mirror of
https://github.com/perlbot/perlbuut-pastebin
synced 2025-06-07 22:26:01 -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});
|
$c->render(json => {evalout => $output});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
get '/robots.txt' => sub {
|
||||||
|
my ($c) = @_;
|
||||||
|
|
||||||
|
|
||||||
|
$c->render(text => qq{User-agent: *
|
||||||
|
Disallow: /});
|
||||||
|
};
|
||||||
|
|
||||||
app->start;
|
app->start;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue