diff options
author | Yorhel <git@yorhel.nl> | 2019-10-31 13:53:14 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-10-31 13:53:14 +0100 |
commit | 155f4d335a698f6cef6f0ddaf932d3302ebcc53d (patch) | |
tree | 108dff4b5c0ae030f9c6d105d22d663f1095c8c4 /lib/VNDB | |
parent | 60452526c1c68d55dbde2ded27235dce7649b03a (diff) |
Footer: Shorten version string + move source URL
Diffstat (limited to 'lib/VNDB')
-rw-r--r-- | lib/VNDB/Config.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VNDB/Config.pm b/lib/VNDB/Config.pm index deda97be..11f1822a 100644 --- a/lib/VNDB/Config.pm +++ b/lib/VNDB/Config.pm @@ -21,7 +21,7 @@ my $config = { scrypt_args => [ 65536, 8, 1 ], # N, r, p scrypt_salt => 'another-random-string', form_salt => 'a-private-string-here', - source_url => 'http://git.blicky.net/vndb.git/?h=master', + source_url => 'https://code.blicky.net/yorhel/vndb', admin_email => 'contact@vndb.org', login_throttle => [ 24*3600/10, 24*3600 ], # interval between attempts, max burst (10 a day) board_edit_time => 7*24*3600, # Time after which posts become immutable @@ -76,7 +76,7 @@ sub config { $c->{tuwf}{$_} = $config_file->{tuwf}{$_} for keys %{ $config_file->{tuwf} || {} }; $c->{url_static} ||= $c->{url}; - $c->{version} ||= `git -C "$ROOT" describe` =~ /^(.+)$/ && $1; + $c->{version} ||= `git -C "$ROOT" describe` =~ /^(.+)\-g[0-9a-f]+$/ && $1; $c->{root} = $ROOT; $c->{Multi}{Core}{log_level} ||= 'debug'; $c->{Multi}{Core}{log_dir} ||= $ROOT.'/data/log'; |