Skip to content

Commit

Permalink
default config for cors origins
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jul 17, 2021
1 parent 2c0d77a commit f74f871
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,7 @@ class Application < Rails::Application
config.paperclip_defaults = {
storage: :filesystem, url: "/images/members/:filename"
}

config.allowed_cors_origins = []
end
end

0 comments on commit f74f871

Please sign in to comment.