github internxt/drive-web v1.0.452

latest releases: v1.0.524, v1.0.523, v1.0.522...
3 months ago

Description

This PR centralizes all environment variable access into a single configuration file.

This is the first step in the migration from CRA to Vite. Since Vite uses import.meta.env instead of process.env, and requires variable names to start with VITE_ instead of REACT_APP, this change ensures that the migration will only require updates in one place: env.service.ts.

By centralizing environment access, we improve maintainability and reduce the risk of inconsistent usage throughout the codebase.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

To validate this change, the application should be tested thoroughly to ensure that environment variables are correctly resolved and that all core functionalities continue to work as expected. This includes interacting with key features such as uploading, downloading, renaming files, and general navigation throughout the app. The goal is to confirm that no regressions were introduced by centralizing environment variable access.

Additional Notes

Don't miss a new drive-web release

NewReleases is sending notifications on new releases.