Skip to content

Commit

Permalink
fix(plugin-utils): wrong default platform host
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyi.levi authored and EYHN committed Sep 21, 2022
1 parent e08ef58 commit 69d38f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugins/utils/src/build-env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function getGitEnv(): Promise<GitEnv> {
export const BUILD_ENV: BuildEnv = {
isCi: envs.isCi,
pwd: 'root' in envs && envs.root ? envs.root : process.cwd(),
platform: process.env.PERFSEE_PLATFORM_HOST ?? 'https://www.perfsee.com',
platform: process.env.PERFSEE_PLATFORM_HOST ?? 'https://perfsee.com',
upload: !process.env.PERFSEE_NO_UPLOAD && envs.isCi,
git: gitEnvPromise.then((gitEnv) => (gitEnv ? Promise.resolve(gitEnv) : getGitEnv())),
}

0 comments on commit 69d38f5

Please sign in to comment.