From 9d8d74ff6f756c1a92c044b3a52e380510cb2ead Mon Sep 17 00:00:00 2001 From: Simon Mayer <simon.mayer@onb.ac.at> Date: Thu, 29 Sep 2022 16:03:01 +0200 Subject: [PATCH] Allow requests from all hosts for now --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 4455074..a08862b 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -76,4 +76,7 @@ Rails.application.configure do # Allow Action Cable access from any origin. config.action_cable.url = ENV['NEP_CABLE_URL'] || 'http://127.0.0.1:3000/cable' config.action_cable.allowed_request_origins = [ENV['NEP_LABS_DOMAIN'], 'http://127.0.0.1:8001'] + + # Allow requests from all hosts for now + config.hosts.clear end -- GitLab