Skip to content
Snippets Groups Projects
Commit 15ad1323 authored by Mike Lynch's avatar Mike Lynch
Browse files

Made sure that dataset urls have trailing slashes

parent 348e1e36
No related merge requests found
{ {
"repo": "http://localhost:8080/repo/", "repo": "http://localhost:8080/repo/",
"core": "repo", "core": "repo",
"api": "/solr/ocflcore", "api": "/solr/public_ocfl",
"dev": { "dev": {
"proxy": { "proxy": {
"/solr/ocflcore": { "/solr/public_ocfl": {
"target": "http://localhost:8080", "target": "http://localhost:8080",
"secure": false "secure": false
} }
} }
} }
} }
\ No newline at end of file
...@@ -28,7 +28,7 @@ const ViewDoc = function (data) { ...@@ -28,7 +28,7 @@ const ViewDoc = function (data) {
if (isIterable(doc['uri_id'])) { if (isIterable(doc['uri_id'])) {
for (let resolve of doc['uri_id']) { for (let resolve of doc['uri_id']) {
const goTo = $('<a>'); const goTo = $('<a>');
goTo.attr('href', `${data.config.repo}${resolve}`); goTo.attr('href', `${data.config.repo}${resolve}/`);
goTo.attr('title', 'Open Record'); goTo.attr('title', 'Open Record');
goTo.attr('target', 'blank'); goTo.attr('target', 'blank');
goTo.text('Open Record'); goTo.text('Open Record');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment