From 0db920785a5ce22e7f0915c8bcd84467c6622bb0 Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Fri, 15 Jan 2021 11:48:18 +0100 Subject: [PATCH] chore: update variable names --- scripts/setupCypress.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/setupCypress.js b/scripts/setupCypress.js index a977ddb4631..f426aaabce0 100644 --- a/scripts/setupCypress.js +++ b/scripts/setupCypress.js @@ -50,9 +50,10 @@ const params = { if (params.local) { const adminUrl = "http://localhost:3001"; const siteUrl = "http://localhost:3000"; - cypressConfig.env.SITE_URL = siteUrl; cypressConfig.baseUrl = adminUrl; cypressConfig.env.ADMIN_URL = adminUrl; + cypressConfig.env.WEBSITE_URL = siteUrl; + cypressConfig.env.WEBSITE_PREVIEW_URL = siteUrl; } else { const adminOutput = await getStackOutput("apps/admin", params.env); const websiteOutput = await getStackOutput("apps/site", params.env);