Skip to content

Commit

Permalink
Add logging to the legacy controller
Browse files Browse the repository at this point in the history
To figure out what app is calling this
  • Loading branch information
jcoyne committed Nov 4, 2023
1 parent c7218fc commit b874980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/legacy_image_service_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ class LegacyImageServiceController < ApplicationController
##
# Redirect legacy image requests to their IIIF equivalents
def show
logger.info(" HTTP Referer: #{request.referer[0..100]}")
redirect_to iiif_path(iiif_options)
end

Expand Down

0 comments on commit b874980

Please sign in to comment.