Skip to content

Commit

Permalink
Revert vercel env fix (#6776)
Browse files Browse the repository at this point in the history
  • Loading branch information
nblackburn authored Apr 10, 2023
1 parent a9ffd41 commit 1deb763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/integrations/vercel/src/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const sendToAnalytics = (metric: Metric, options: Options) => {
};

function webVitals() {
const analyticsId = (import.meta as any).env.VERCEL_ANALYTICS_ID;
const analyticsId = (import.meta as any).env.PUBLIC_VERCEL_ANALYTICS_ID;
if (!analyticsId) {
console.error('[Analytics] VERCEL_ANALYTICS_ID not found');
return;
Expand Down

0 comments on commit 1deb763

Please sign in to comment.