arunavabasucom / radis-app

A web app for high-resolution infrared molecular spectra using RADIS
https://radis.app
GNU Lesser General Public License v3.0
11 stars 16 forks source link

feat: Apiendpoint from env #699

Closed arunavabasucom closed 11 months ago

arunavabasucom commented 1 year ago

This PR aims to take the apiendpoint from .env.local instead of taking from config.js !! it is add ease in deployment just to change the env instead of changing the config.js file .

codecov[bot] commented 1 year ago

Codecov Report

Attention: 119 lines in your changes are missing coverage. Please review.

Comparison is base (bec2d8a) 77.22% compared to head (eaf8903) 77.22%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #699 +/- ## ======================================= Coverage 77.22% 77.22% ======================================= Files 38 38 Lines 2143 2143 Branches 100 100 ======================================= Hits 1655 1655 Misses 488 488 ``` | [Flag](https://app.codecov.io/gh/suzil/radis-app/pull/699/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/suzil/radis-app/pull/699/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek) | `85.44% <ø> (ø)` | | | [frontend](https://app.codecov.io/gh/suzil/radis-app/pull/699/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek) | `76.57% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/suzil/radis-app/pull/699?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek) | Coverage Δ | | |---|---|---| | [frontend/src/components/Form.tsx](https://app.codecov.io/gh/suzil/radis-app/pull/699?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Susannah+Klane%C4%8Dek#diff-ZnJvbnRlbmQvc3JjL2NvbXBvbmVudHMvRm9ybS50c3g=) | `60.84% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.