![]() This change makes life easier when working with multiple root accounts in local developement and accessing each root account's shard via different hosts. Another scenario where this change helps is when working with a single root account that has many account domain records. flag=none Test Plan: 1. Set the new environment variable to a comma- separated string of host names: ADDITIONAL_ALLOWED_HOSTS=first.canvas.docker, second.canvas.docker,... 3. Start a rails console 4. Run Rails.application.config.hosts and verify each additional host is present in the array 5. Verify you can successfully `rails c` and see Canvas with the new variable present and absent. Change-Id: Iea2c7dafc9918181fd2fd1268e1d71ce49ceb3ab Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/269984 QA-Review: Gary Mei <gmei@instructure.com> Product-Review: Weston Dransfield <wdransfield@instructure.com> Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Andrea Cirulli <andrea.cirulli@instructure.com> Reviewed-by: Gary Mei <gmei@instructure.com> |
||
---|---|---|
.. | ||
development.rb | ||
production.rb | ||
test.rb |