Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6
stars
1
forks
source link
Allow for Multiple Allowed Hosts in Each Rails Environment #689
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)4.0.2+portage-4.0.2
Issue Description
To avoid getting a 403 error, a domain name must be added to config.hosts within config/environments/.
We are currently adding the allowed hosts via Rails.application.secrets.dmproadmap_host. However, for each environment, the codebase currently only allows us to assign a single host to config.hosts
This already presents a problem when accessing the sandbox site, as it used to be accessible via two different urls.
Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
4.0.2+portage-4.0.2
Issue Description
config.hosts
withinconfig/environments/
.Rails.application.secrets.dmproadmap_host
. However, for each environment, the codebase currently only allows us to assign a single host toconfig.hosts