Skip to content

Commit

Permalink
Update common.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldickson authored Sep 13, 2024
1 parent 83c59f2 commit 46333bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export const getCommonMetadata = (

const getEndpointFromType = (type: string) => {
return {
webpack: process.env.WEBPACK_ENDPOINT,
vite: process.env.VITE_ENDPOINT,
webpack: process.env.WEBPACK_ENDPOINT || "http://compilation-metrics/webpack",
vite: process.env.VITE_ENDPOINT || "http://compilation-metrics/vite",
}[type];
};

Expand Down

0 comments on commit 46333bf

Please sign in to comment.