1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2024-12-22 16:12:13 +01:00

Fixed: setLastVersion() findify

This commit is contained in:
nobody 2021-05-25 07:01:00 +02:00
parent 731c8adb10
commit 5f977b68a4
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A

View File

@ -258,7 +258,7 @@ targets.setLastVersion = function (type, version) {
return '0.4.0';
} else if (type.startsWith('/ext-core/3.')) {
return '3.1.0';
} else if (type.startsWith('findify')) {
} else if (type.startsWith('/findify')) {
if (helpers.compareVersion('6.9.15', version)) return '6.9.15'; // <= 6.9.15
else if (helpers.compareVersion('6.17.0', version)) return '6.17.0'; // > 6.9.15 to <= 6.17.0
else return '7.0.10';