Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • CAiMIRA CAiMIRA
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 48
    • Issues 48
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CAiMIRACAiMIRA
  • CAiMIRACAiMIRA
  • Merge requests
  • !434

Added env variable for application root

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Luis Aleixo requested to merge feature/application_root into master Mar 17, 2023
  • Overview 4
  • Commits 10
  • Pipelines 4
  • Changes 16

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 Mar 17, 2023 by Luis Aleixo
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: feature/application_root