fix caddy bin location, generically remove leading 'v'

This commit is contained in:
AJ ONeal
2020-05-04 17:50:52 +00:00
parent 9b6ad31234
commit ce24512596
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@ var archMap = {
function normalize(all) {
all.releases.forEach(function (rel) {
rel.version = rel.version.replace(/^v/i, '');
if (!rel.name) {
rel.name = rel.download.replace(/.*\//, '');
}