Skip to content

Commit

Permalink
Delete the trailing slash for the imageserver check to appease cantal…
Browse files Browse the repository at this point in the history
…oupe.
  • Loading branch information
cbeer committed Aug 20, 2024
1 parent 3a56cf0 commit b50a17b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/okcomputer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
# - in /status/all, these checks will display their result text, but will not affect HTTP response code

# For image content in image viewer
OkComputer::Registry.register 'imageserver_url', OkComputer::HttpCheck.new(Settings.imageserver.base_uri)
OkComputer::Registry.register 'imageserver_url', OkComputer::HttpCheck.new(Settings.imageserver.base_uri.delete_suffix('/'))
OkComputer.make_optional %w(imageserver_url)

0 comments on commit b50a17b

Please sign in to comment.