Skip to content

Commit

Permalink
fix: replace dlviewer dev with production dl viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
pghorpade committed Jan 12, 2024
1 parent c779a35 commit a5d9a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/services/iiif_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

class IiifService
def src(request, document)
"#{request&.base_url}/site=sinai&manifest=#{CGI.escape(iiif_manifest_url(document))}"
# "http://localhost:8080/?site=sinai&manifest=#{CGI.escape(iiif_manifest_url(document))}"
"https://d-w-dl-viewer01.library.ucla.edu?site=sinai&manifest=#{CGI.escape(iiif_manifest_url(document))}"
# "https://d-w-dl-viewer01.library.ucla.edu?site=sinai&manifest=#{CGI.escape(iiif_manifest_url(document))}"
end

def iiif_manifest_url(document)
Expand Down

0 comments on commit a5d9a2e

Please sign in to comment.