Skip to content

Commit

Permalink
allow health checks. #158
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Dec 15, 2018
1 parent 5041b74 commit 4c65d1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/turnout.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
Turnout.configure do |config|
config.default_maintenance_page = Turnout::MaintenancePage::JSON
config.default_allowed_paths = ['^/heartbeat']
config.default_reason = "The site is temporarily down for maintenance. Please check https://status.datacite.org for more information."
end

0 comments on commit 4c65d1b

Please sign in to comment.