diff --git a/core/constants.js b/core/constants.js index f1e547fe..e0e0a8d8 100644 --- a/core/constants.js +++ b/core/constants.js @@ -55,7 +55,7 @@ const MessageResponse = { const Resource = { 'MAPPING_EXPRESSION': /\.map$/i, - 'VERSION_EXPRESSION': /(?:\d{1,2}\.){1,3}\d{1,2}|latest/, + 'VERSION_EXPRESSION': /(?:\d{1,2}\.){1,3}\d{1,2}(?:-\d)?|latest/, 'SINGLE_NUMBER_EXPRESSION': /^\D+\d\D+$/, 'VERSION_PLACEHOLDER': '{version}' }; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 9925f404..9bc5d941 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -33,6 +33,7 @@