Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
AAfghahi authored Aug 23, 2021
1 parent 7d4c976 commit ce560f3
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -855,8 +855,6 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
const regionalIPs = connectionAlert?.REGIONAL_IPS || {};
Object.entries(regionalIPs).forEach(([ipRegion, ipRange]) => {
const regex = new RegExp(ipRegion);
console.log(regex);
console.log(hostname.match(regex));
if (hostname.match(regex)) {
ipAlert = ipRange;
}
Expand Down

0 comments on commit ce560f3

Please sign in to comment.