Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Document why `bs-local.com` is allowed host in development.rb

Christophe Bliardddb0753273bc
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 47460741ac7..ccedb26ed4f 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -116,6 +116,8 @@ Rails.application.configure do
# Set email preview locations to rspec
config.action_mailer.preview_paths << Rails.root.join("spec/mailers/previews")
+ # Used with `bin/safari_browser_stack` for testing Safari on Browser Stack
+ # Allow Browser Stack local server when assets are proxied
config.hosts << "bs-local.com" if ENV["OPENPROJECT_DISABLE_DEV_ASSET_PROXY"].present?
if ENV["OPENPROJECT_DEV_EXTRA_HOSTS"].present?