Closed jabrah closed 5 years ago
Note: this seems to be a bug in the viewer in how it constructs the RMap URL, since the RMap POST that sends the research finding returns and ARK ID, not the full URL of the DiSCO.
This can be fixed with a configuration change in the production index.html
researchFinding: {
rmap: {
resolver: '/discos/'
}
}
Or permanently change the value here https://github.com/jhu-digital-manuscripts/mirador/blob/aor-2/js/src/settings.js#L254
Looks like in production, the research finding is persisted in RMap perfectly fine, however the URL reported to the user in the Export popup is incorrect. The user is presented with a URL formatted like:
This gives a
404
error. If/app
is removed from the URL so it becomeshttps://rmap-hub.org/discos/<id>
, then the URL resolves correctly in RMap.