sul-dlss / purl

URL resolver that translates a reference to a digital object in the form of a druid, into a full content representation of that object as available
Other
8 stars 1 forks source link

Don't include version in sul-embed iframe URL when purl is base url #1137

Closed lwrubel closed 2 months ago

lwrubel commented 2 months ago

Resolves #1135.

Updates embed iframe URL and embed code to use base URL when head version.

Andrew tested and approved.

lwrubel commented 2 months ago

@andrewjbtw would you like to test this?

andrewjbtw commented 2 months ago

Yes - is it already in stage?

lwrubel commented 2 months ago

Requires a tweak so that if the URL is a head version with a version in the URL, still include that in the embed URL. The presence or lack of a version in the URL should be the same as what's in the embed URL.