Skip to content

Commit

Permalink
add us2 & us3 to allowed_regions (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
yohan-pannet-bbo authored Apr 30, 2021
1 parent e8705ed commit b8bf9b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/r7insight.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@
};

function validate_region(region) {
var allowed_regions = ['eu', 'us', 'ca', 'au', 'ap'];
var allowed_regions = ['eu', 'us', 'us2', 'us3', 'ca', 'au', 'ap'];
if (region) {
if (allowed_regions.indexOf(region) > -1) {
return region;
Expand Down

0 comments on commit b8bf9b7

Please sign in to comment.