Skip to content

Commit

Permalink
Update common.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
ratchapol-an committed Feb 19, 2025
1 parent 2a04df9 commit d8ff1ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/common/src/lib/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ const getEndpointFromType = (type: string) => {
webpack: process.env.WEBPACK_ENDPOINT || 'http://compilation-metrics/webpack',
vite: process.env.VITE_ENDPOINT || 'http://compilation-metrics/vite',
vitehmr: process.env.VITE_ENDPOINT || 'http://compilation-metrics/vite',
rsbuild: process.env.WEBPACK_ENDPOINT || 'http://compilation-metrics/webpack',
rsbuild: process.env.RSPACK_ENDPOINT || 'http://compilation-metrics/webpack',
rspack: process.env.RSPACK_ENDPOINT || 'http://compilation-metrics/webpack',
}[type];
};

Expand Down

0 comments on commit d8ff1ea

Please sign in to comment.