From 4c65d1b3b0f7198a48b493c18dd9babe5b8e1e59 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 15 Dec 2018 10:43:19 +0100 Subject: [PATCH] allow health checks. #158 --- config/initializers/turnout.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/initializers/turnout.rb b/config/initializers/turnout.rb index df4a6ca76..38d27da1a 100644 --- a/config/initializers/turnout.rb +++ b/config/initializers/turnout.rb @@ -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 \ No newline at end of file