Implement session secret

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

View File

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