Added footer with current git version shown
This commit is contained in:
parent
e667947c65
commit
13b594e64f
3 changed files with 9 additions and 0 deletions
|
@ -21,12 +21,15 @@ has schema => sub {
|
|||
sub startup {
|
||||
my $self = shift;
|
||||
|
||||
my $version = `git describe --tags`;
|
||||
|
||||
$self->plugin('Config', {
|
||||
default => {
|
||||
storage_path => tempdir,
|
||||
sessionTimeSeconds => 60 * 60 * 24 * 7,
|
||||
sessionTokenJsonName => 'session_key',
|
||||
sessionExpiresJsonName => 'sessionExpires',
|
||||
version => $version,
|
||||
},
|
||||
});
|
||||
my $config = $self->config;
|
||||
|
|
Reference in a new issue