Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for Multiple Allowed Hosts in Each Rails Environment #689

Open
aaronskiba opened this issue Mar 8, 2024 · 0 comments
Open

Allow for Multiple Allowed Hosts in Each Rails Environment #689

aaronskiba opened this issue Mar 8, 2024 · 0 comments
Assignees

Comments

@aaronskiba
Copy link
Collaborator

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.
@aaronskiba aaronskiba self-assigned this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant