Closed mohammadranjbarz closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | 🔄 Building (Inspect) | Visit Preview | 💬 Add feedback | Jun 12, 2024 0:45am |
The updates enhance configurability by allowing environment variables to dynamically define URLs for various subgraphs, providing more flexibility across different environments. This change affects both development and production configurations, ensuring URLs can be adjusted without modifying the codebase directly.
Files | Change Summary |
---|---|
src/config/development.tsx |
Updated URLs in EnvConfig to use environment variables, allowing for configuration based on environment settings. |
src/config/production.tsx |
Altered URLs to conditional environment variables, enhancing the flexibility of subgraph endpoints configuration. |
🌐 Amidst the lines of code we weave, URLs now flex and gently breathe. With env vars guiding paths anew, Configs adapt, like morning dew. Development, production—both align, In flexibility, our scripts now shine. 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@mhmdksh After merging this we should add these variables in Vercel for staging ENV
@mhmdksh Feel free to merge it once you added the variables in Vercel panel
@mhmdksh
Thanks for updating the
@mhmdksh
- NEXT_PUBLIC_SUBGRAPH_SUPER_FLUID
- NEXT_PUBLIC_SUBGRAPH_UNISWAP_V2
- NEXT_PUBLIC_SUBGRAPH_HONEYSWAP_V2
Thanks for updating the ENV links @mohammadranjbarz I have added the ENV variables in our staging frontend, this is now safe to merge
Summary by CodeRabbit