Move some stuff around

This commit is contained in:
swagg boi 2023-11-08 21:33:34 -05:00
parent 40353ec8fa
commit 0107f1d580

View file

@ -37,7 +37,7 @@ use Humming-Bird::Middleware;
use Humming-Bird::Advice; use Humming-Bird::Advice;
use Template::Mustache; use Template::Mustache;
# 'Config' stuff # 'Config-y' stuff
my $template = Template::Mustache.new: :from<./templates>; my $template = Template::Mustache.new: :from<./templates>;
middleware &middleware-logger; middleware &middleware-logger;
@ -51,7 +51,7 @@ get '/', -> $request, $response {
}; };
post '/', -> $request, $response { post '/', -> $request, $response {
dd $request.content; dd $request;
$response.redirect('/'); $response.redirect('/');
}; };