Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:1281 Remove vercel env vars #1554

Merged
merged 3 commits into from
Sep 18, 2023
Merged

Conversation

0xemc
Copy link
Collaborator

@0xemc 0xemc commented Sep 18, 2023

Description

This PR introduces changes to how environment variables are handled in the application. It now uses the VERCEL_ENV variable to determine the current environment and fetches the appropriate token addresses based on this.

Changes

  • Added environment determination logic using VERCEL_ENV
  • Replaced direct environment variable access with lookups from TOKEN_ADDRESSES based on the current environment
  • Applied these changes in utils.constants.ts and utils.ts files

@0xemc 0xemc temporarily deployed to Preview – carbonmark-api September 18, 2023 08:52 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Sep 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
carbonmark ✅ Ready (Inspect) Visit Preview Sep 18, 2023 11:47pm
carbonmark-api ✅ Ready (Inspect) Visit Preview Sep 18, 2023 11:47pm
demo-integration ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 11:47pm
klimadao-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 11:47pm
klimadao-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 11:47pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
carbonmark-data ⬜️ Ignored (Inspect) Visit Preview Sep 18, 2023 11:47pm

@0xemc 0xemc temporarily deployed to Preview – carbonmark-api September 18, 2023 23:40 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants