Skip to content

Commit

Permalink
cdn override logic in OpenSeaDragon should inspect IIIF v3 id attribu…
Browse files Browse the repository at this point in the history
…tes (DLC-1155)
  • Loading branch information
barmintor committed Sep 13, 2024
1 parent a55445c commit f15a1b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ OpenSeadragon.IIIFTileSource.prototype.getTileUrl = function( level, x, y ){

/** BEGIN - CUL Changed Code **/
var dcvCdnUrls = <%= DCV_CONFIG['cdn_urls'].inspect %>;
var originalIiifUrlAndResourceUrlPath = this['@id'];
var originalIiifUrlAndResourceUrlPath = this['@id'] || this['id'];
var iiifResourceUrl = originalIiifUrlAndResourceUrlPath;
var iiifResourceUrlPath = null;
dcvCdnUrls.forEach(function(url){
Expand Down

0 comments on commit f15a1b2

Please sign in to comment.