Skip to content

Commit

Permalink
Merge pull request #580 from coopdevs/develop
Browse files Browse the repository at this point in the history
Release v3.1.1
  • Loading branch information
sauloperez authored Jan 5, 2021
2 parents a8fd19a + 6210d22 commit 1a656db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class Application < Rails::Application
config.active_record.schema_format = :sql

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

0 comments on commit 1a656db

Please sign in to comment.