This commit is contained in:
swaggboi 2021-03-12 23:27:18 -05:00
parent 3fecb71e1e
commit f47556e172

View File

@ -33,13 +33,13 @@ get '/' => sub {
my $count = format_number time; # Grab epoch and add commas my $count = format_number time; # Grab epoch and add commas
my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n"; my $fortune = `/usr/games/fortune` || `fortune` || "huh??\n";
$c->swaggSession();
$c->stash( $c->stash(
count => $count, count => $count,
fortune => $fortune fortune => $fortune
); );
$c->swaggSession();
$c->render(); $c->render();
} => 'index'; } => 'index';