Skip to content

Commit c0c7140

Browse files
committed
Remove legacy /search/* route
1 parent 7f88efd commit c0c7140

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/grepcpan.pm

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ get '/source-code' => sub {
5757
};
5858
};
5959

60-
get '/search/:legacy' => sub { # need to disable it from js
61-
content_type 'application/json';
62-
return to_json {};
63-
};
64-
6560
get '/search' => sub {
6661
my $q = param('q'); # FIXME clean query
6762
my $filetype = param('qft');

0 commit comments

Comments
 (0)