Skip to content

Commit

Permalink
update env vars for nuxt and sveltekit
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholas-codecov committed Jun 3, 2024
1 parent f880a81 commit 2970916
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default defineNuxtConfig({
{
enableBundleAnalysis: true,
bundleName: "@codecov/example-nuxt-app",
uploadToken: process.env.VITE_UPLOAD_TOKEN,
apiUrl: process.env.VITE_API_URL,
uploadToken: process.env.NUXT_UPLOAD_TOKEN,
apiUrl: process.env.NUXT_API_URL,
},
],
],
Expand Down
3 changes: 2 additions & 1 deletion examples/sveltekit/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ export default defineConfig({
sveltekit(),
codecovSvelteKitPlugin({
enableBundleAnalysis: true,
uploadToken: "test-token",
bundleName: "@codecov/example-sveltekit-app",
uploadToken: process.env.SVELTEKIT_UPLOAD_TOKEN,
apiUrl: process.env.SVELTEKIT_API_URL,
}),
],
});

0 comments on commit 2970916

Please sign in to comment.