Implement session secret

This commit is contained in:
swagg boi 2021-12-05 03:32:22 -05:00
parent edca297f78
commit 2489940171

View file

@ -37,7 +37,7 @@ helper message => sub {
# Routes
under sub ($c) {
$c->pg->migrations->from_dir('migrations')->migrate(1);
$c->pg->migrations->from_dir('migrations')->migrate(1)
};
get '/' => sub ($c) {
@ -73,4 +73,5 @@ any '/post' => sub ($c) {
};
# Send it
app->secrets(app->config->{'secrets'}) || die $@;
app->start();