abhishekbansal2312 / abhishekbansal2312/BackTest

use backend url from env

未關閉 適合新手
#1 0 則留言 1 個 reaction 已指派 1 人 已被 @abhishekbansal2312 認領 在 GitHub 檢視
good first issue
主要語言
JavaScript
星號
1
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

https://github.com/abhishekbansal2312/BackTest/blob/8d344c972234a8c3b04127b666ead7eddd45465b/src/contexts/BacktestContext.jsx#L158C9-L158C91

Do not keep the url in the code. It should be picked up from the env variables, as it is expected to be changed often.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

The issue points to a specific line in src/contexts/BacktestContext.jsx where a backend URL is hardcoded. Look for environment variable configuration in the project (e.g., a .env file or build setup). Replace the hardcoded URL with a reference to the environment variable, ensuring the variable is properly named and loaded. Check if there are any tests or other files that might also use this URL.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript
領域
backend-api-design
Issue 類型
重構
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。