Skip to content

Commit

Permalink
Make path prefex generic
Browse files Browse the repository at this point in the history
  • Loading branch information
heatlikeheatwave committed Jul 26, 2024
1 parent c10dd2d commit 65a110b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/upload-source-maps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ const main = () => {
}

const LATEST_SHA = process.env.VERCEL_GIT_COMMIT_SHA
// const PATH_PREFIX = 'https://developer.hashicorp.com/_next/static/'
// const SERVICE = 'developer.hashicorp.com'
const PATH_PREFIX =
'https://dev-portal-git-rn-featbuild-source-maps-during-deploy-hashicorp.vercel.app/_next/static/'
const SERVICE = process.env.VERCEL_ENV === 'production' ? 'developer.hashicorp.com' : 'non-prod.developer.hashicorp.com'
const PATH_PREFIX = `https://${process.env.VERCEL_BRANCH_URL}/_next/static/`
const SERVICE =
process.env.VERCEL_ENV === 'production'
? 'developer.hashicorp.com'
: 'non-prod.developer.hashicorp.com'

const DATADOG_API_KEY = process.env.DD_API_KEY

Expand Down

0 comments on commit 65a110b

Please sign in to comment.