404 redirect needs work

This commit is contained in:
Matthew Connelly 2015-04-08 02:39:34 +01:00
parent 079aa79cf8
commit c57dcff585
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ get '/:extpage' => sub {
any qr{.*} => sub {
return redirect '/' if request->path =~ /index(?:\.(?:html?|pl)?)?$/;
status 'not_found';
return redirect '/404.html';
#return redirect '/404.html'; # this doesn't actually work, need to find a better way of 404ing using nginx's 404 page
};
start;