Skip to content

Commit

Permalink
DOP-3044: Set site url to dotcom base url (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
rayangler authored Jun 6, 2022
1 parent fa514bb commit e277162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/site-metadata.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { execSync } = require('child_process');
const userInfo = require('os').userInfo;
const { getSiteUrl } = require('./get-site-url');
const { DOTCOM_BASE_URL } = require('./base-url');

const runningEnv = process.env.NODE_ENV || 'production';

Expand Down Expand Up @@ -64,7 +64,7 @@ const siteMetadata = {
patchId: process.env.PATCH_ID || '',
pathPrefix: getPathPrefix(process.env.PATH_PREFIX),
project: process.env.GATSBY_SITE,
siteUrl: getSiteUrl(process.env.GATSBY_SITE),
siteUrl: DOTCOM_BASE_URL,
snootyBranch: gitBranch,
snootyEnv: process.env.SNOOTY_ENV || 'development',
user: userInfo().username,
Expand Down

0 comments on commit e277162

Please sign in to comment.