From 7fac28cf611dcb9c8eea3b59f1f28b79a69b8db0 Mon Sep 17 00:00:00 2001 From: AppCivist Date: Sat, 1 Jun 2019 12:40:05 -0900 Subject: [PATCH] Add test front end url for cors Signed-off-by: AppCivist --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 63c9660..9324322 100644 --- a/config/application.rb +++ b/config/application.rb @@ -25,7 +25,7 @@ class Application < Rails::Application config.middleware.insert_before 0, "Rack::Cors" do allow do - origins "0.0.0.0:8000", "localhost:8000", "appcivist.littlemacondo.com" + origins "0.0.0.0:8000", "localhost:8000", "appcivist.littlemacondo.com", "testpb.appcivist.org" resource '*', :headers => :any, :methods => [:get, :put, :post, :options] end end