Skip to content

Commit c3bf865

Browse files
committed
Update Regex to allow /19 to match in AWS and other consistency changes
1 parent 1f416e3 commit c3bf865

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dist/js/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ let urlVersion = '1'
3131
let configVersion = '1'
3232

3333
const netsizePatterns = {
34-
Standard: '^([0-9]|[12][0-9]|3[0-2])$',
35-
AZURE: '^([0-9]|[12][0-9])$',
36-
AWS: '^([0-9]|[12][0-8])$',
34+
Standard: '^([12]?[0-9]|3[0-2])$',
35+
AZURE: '^([12]?[0-9])$',
36+
AWS: '^(1?[0-9]|2[0-8])$',
3737
};
3838

3939
const minSubnetSizes = {

0 commit comments

Comments
 (0)