Skip to content

Commit

Permalink
Add test front end url for cors
Browse files Browse the repository at this point in the history
Signed-off-by: AppCivist <appcivist@js-156-228.jetstream-cloud.org>
  • Loading branch information
AppCivist committed Jun 1, 2019
1 parent 98ea3c4 commit 7fac28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fac28c

Please sign in to comment.