Updated the iiif endpoint that is passed to the viewer.

This commit is contained in:
Michael Spalti
2021-08-25 11:09:47 -07:00
parent fb0d51c574
commit 668a08be45

View File

@@ -44,7 +44,7 @@ export class MiradorViewerComponent implements OnInit {
*/
setURL() {
// The path to the REST manifest endpoint.
const manifestApiEndpoint = encodeURIComponent(environment.rest.baseUrl + '/api/iiif/'
const manifestApiEndpoint = encodeURIComponent(environment.rest.baseUrl + '/iiif/'
+ this.item.id + '/manifest');
// The Express path to Mirador viewer.
let viewerPath = '/iiif/mirador/index.html?manifest=' + manifestApiEndpoint;