You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is best practice to store configuration data in the environment. The Pickle Jar Base URL is a prime example of this. Currently we have the URL hard-coded into the application, but it should be passed in from the environment. This way we can test locally with the local version of the cloud functions API as opposed to having our dev environment also point to the production API.
Solution
Set components/api.js to pull the BASE_URL from the environment
Issue
It is best practice to store configuration data in the environment. The Pickle Jar Base URL is a prime example of this. Currently we have the URL hard-coded into the application, but it should be passed in from the environment. This way we can test locally with the local version of the cloud functions API as opposed to having our dev environment also point to the production API.
Solution
components/api.js
to pull theBASE_URL
from the environmentpickle-jar-mobile-app/components/api.js
Line 1 in c4f6d3a
The text was updated successfully, but these errors were encountered: