Skip to content

Commit

Permalink
chore: update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jan 15, 2021
1 parent 771036a commit 0db9207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/setupCypress.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0db9207

Please sign in to comment.