Goddamit, emacs
This commit is contained in:
parent
4fcd649b0b
commit
4b06627b0a
1 changed files with 39 additions and 36 deletions
|
@ -96,7 +96,8 @@ get '/f/:dir/#name' => sub ($c) {
|
|||
content_disposition => 'inline'
|
||||
)
|
||||
|
||||
};
|
||||
}
|
||||
;
|
||||
app->max_request_size( 1024 * 1024 * 100 );
|
||||
|
||||
post '/upload' => sub ($c) { handle_file($c) };
|
||||
|
@ -108,6 +109,7 @@ get '/f/:dir/#name' => sub ($c) {
|
|||
#By default Mojolicious gets the "directory root" from the "public"
|
||||
# directory, so the css and the favicon from the "public" directory,
|
||||
# in the root of this repo.
|
||||
|
||||
__DATA__
|
||||
|
||||
@@ index.html.ep
|
||||
|
@ -138,3 +140,4 @@ get '/f/:dir/#name' => sub ($c) {
|
|||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue