|
|
@ -65,9 +65,6 @@ sub startup { |
|
|
|
$zb->route('/:time', time => qr/\d+/) |
|
|
|
$zb->route('/:time', time => qr/\d+/) |
|
|
|
->via('GET') -> to(action => 'view'); |
|
|
|
->via('GET') -> to(action => 'view'); |
|
|
|
$zb->get('/prune') -> to(action => 'prune'); |
|
|
|
$zb->get('/prune') -> to(action => 'prune'); |
|
|
|
|
|
|
|
|
|
|
|
my $conf = $self->app->config->{zerobin}; |
|
|
|
|
|
|
|
mkdir $self->app->home->rel_dir($conf->{root}); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
{ # /imgbin |
|
|
|
{ # /imgbin |
|
|
|