LearnersBlock / learners-block

Provide educational resources, websites and popular EdTech (Kolibri, Moodle) offline.
https://learnersblock.org
GNU General Public License v3.0
12 stars 1 forks source link

Replace BACKEND_API_BASE file manager configuration #71

Closed maximilianoertel closed 3 years ago

maximilianoertel commented 3 years ago

Currently, the file manager relies on a BACKEND_API_BASE env variable to determine the base URL for authentication API calls. As the URL however can be changed at any time, the backend URL changes as well (#16).

In order to prevent issues in a production environment, the file manager will need to dynamically determine the URL.