Skip to content

Commit b874980

Browse files
committed
Add logging to the legacy controller
To figure out what app is calling this
1 parent c7218fc commit b874980

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controllers/legacy_image_service_controller.rb

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ class LegacyImageServiceController < ApplicationController
88
##
99
# Redirect legacy image requests to their IIIF equivalents
1010
def show
11+
logger.info(" HTTP Referer: #{request.referer[0..100]}")
1112
redirect_to iiif_path(iiif_options)
1213
end
1314

0 commit comments

Comments
 (0)