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
The ".env" file the the API is initially supposed to be in the "oxe-api" folder. In this way; we have separately environment files for the three component of this repository (the API and the two webapps).
Is this working for you with the original piece of code when the ".env" file is in the "oxe-api" folder? If yes, I wouldn't apply the modification in this repo in order to keep the same logic.
Had to add the following for it to pick up:
dotenv_path = os.path.abspath(os.path.join(os.path.dirname(file), '..', '.env'))
load_dotenv(dotenv_path)
The text was updated successfully, but these errors were encountered: