diff --git a/config.json b/config.json index e9862eb9ebc15a00509ade02bd6287126c9eff1b..3ad576f298306daba89675ea1d442c044f3d94e2 100644 --- a/config.json +++ b/config.json @@ -1,13 +1,13 @@ { "repo": "http://localhost:8080/repo/", "core": "repo", - "api": "/solr/ocflcore", + "api": "/solr/public_ocfl", "dev": { "proxy": { - "/solr/ocflcore": { + "/solr/public_ocfl": { "target": "http://localhost:8080", "secure": false } } } -} \ No newline at end of file +} diff --git a/src/components/views/ViewDoc.js b/src/components/views/ViewDoc.js index 6917ad072b684d69ba4f4cefc241959c72def8cf..a287f662a54f4d02ff6e90748273576c8e557f1b 100644 --- a/src/components/views/ViewDoc.js +++ b/src/components/views/ViewDoc.js @@ -28,7 +28,7 @@ const ViewDoc = function (data) { if (isIterable(doc['uri_id'])) { for (let resolve of doc['uri_id']) { const goTo = $('<a>'); - goTo.attr('href', `${data.config.repo}${resolve}`); + goTo.attr('href', `${data.config.repo}${resolve}/`); goTo.attr('title', 'Open Record'); goTo.attr('target', 'blank'); goTo.text('Open Record');