Skip to content

Commit e682240

Browse files
stefanjudisCopilot
andauthored
Update guides/playwright-environments.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3ac195b commit e682240

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

guides/playwright-environments.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ export function getLocationCountry() {
119119
if (process.env.CHECKLY !== "1") return null;
120120

121121
const region = process.env.CHECKLY_REGION;
122-
if (region?.startsWith("eu-central")) return "DE";
122+
if (region === "eu-central-1") return "DE";
123123
if (region === "eu-west-1") return "IE";
124-
if (region?.startsWith("us")) return "US";
125-
if (region?.startsWith("ap")) return "AU";
124+
if (region?.startsWith("us-")) return "US";
125+
if (region === "ap-southeast-2") return "AU";
126126
// more regions ...
127127

128128
return null;

0 commit comments

Comments
 (0)