We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ac195b commit e682240Copy full SHA for e682240
1 file changed
guides/playwright-environments.mdx
@@ -119,10 +119,10 @@ export function getLocationCountry() {
119
if (process.env.CHECKLY !== "1") return null;
120
121
const region = process.env.CHECKLY_REGION;
122
- if (region?.startsWith("eu-central")) return "DE";
+ if (region === "eu-central-1") return "DE";
123
if (region === "eu-west-1") return "IE";
124
- if (region?.startsWith("us")) return "US";
125
- if (region?.startsWith("ap")) return "AU";
+ if (region?.startsWith("us-")) return "US";
+ if (region === "ap-southeast-2") return "AU";
126
// more regions ...
127
128
return null;
0 commit comments