Skip to content

Commit

Permalink
Merge pull request #576 from coopdevs/allow-staging-host
Browse files Browse the repository at this point in the history
Allow requests from staging
  • Loading branch information
sauloperez authored Jan 5, 2021
2 parents 5e3df77 + ccc8fed commit 294c13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ class Application < Rails::Application

# Guard against DNS rebinding attacks by permitting hosts
config.hosts << /timeoverflow\.(local|org)/
config.hosts << "staging.timeoverflow.org"
end
end

0 comments on commit 294c13b

Please sign in to comment.