Skip to content

Added env variable for application root

Luis Aleixo requested to merge feature/application_root into master

This MR adds a dedicated prefix injected in the root of the application, similarly to the calculator prefix. For this end, the steps were the following:

  • Created an environment variable - APPLICATION_ROOT – with the desired prefix.
  • Injected it in the make_app function in the CAiMIRA engine.
  • Injected it in all the URLs, where static files are used.

In order to avoid troubles with the current deployment at CERN, the default value for the APPLICATION_ROOT is /.

Edited by Luis Aleixo

Merge request reports