fix
This commit is contained in:
commit
c9db911586
1 changed files with 25 additions and 1 deletions
|
@ -118,7 +118,6 @@ get '/f/:dir/#name' => sub ($c) {
|
||||||
format => $ext,
|
format => $ext,
|
||||||
content_disposition => 'inline'
|
content_disposition => 'inline'
|
||||||
);
|
);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
app->max_request_size( 1024 * 1024 * 100 );
|
app->max_request_size( 1024 * 1024 * 100 );
|
||||||
|
@ -190,3 +189,28 @@ __DATA__
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
=pod
|
||||||
|
|
||||||
|
=head1 sakisafe
|
||||||
|
|
||||||
|
sakisafe is a web application using the Mojolicious framework which
|
||||||
|
allow users to simply upload and share files.
|
||||||
|
|
||||||
|
=head2 synopsis
|
||||||
|
|
||||||
|
C<./sakisafe.pl daemon -m production>
|
||||||
|
|
||||||
|
This will start sakisafe in port 3000. Which should be proxied with
|
||||||
|
nginx or any reverse proxy software.
|
||||||
|
|
||||||
|
=head2 license
|
||||||
|
|
||||||
|
The Unlicense.
|
||||||
|
|
||||||
|
=head2 author
|
||||||
|
|
||||||
|
Raoul Vaughn
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
Loading…
Add table
Reference in a new issue