Skip to content

Commit e38eb22

Browse files
authored
Merge pull request #1107 from tildeio/ignored-defaults
ignore Rails::HealthController#show
2 parents c4272b4 + b0d91f7 commit e38eb22

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/skylight/config.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class Config
1919
# @api private
2020
MUTEX = Mutex.new
2121

22+
DEFAULT_IGNORED_ENDPOINTS = %w[
23+
Rails::HealthController#show
24+
].freeze
25+
2226
# Map environment variable keys with Skylight configuration keys
2327
ENV_TO_KEY = {
2428
# == Authentication ==
@@ -493,7 +497,7 @@ def ignored_endpoints
493497

494498
val = Array(get(:ignored_endpoint))
495499
val.concat(Array(ignored_endpoints))
496-
val
500+
val | DEFAULT_IGNORED_ENDPOINTS
497501
end
498502
end
499503

0 commit comments

Comments
 (0)