Commit 0af4f671 authored by A. Koch's avatar A. Koch

update uri base, fix annotations query in archive builder

parent e072c2a7
{
"api": {
"uriBase": "https://app.motionbank.org",
"uriBase": "http://id.motionbank.org",
"apiHost": "https://api.motionbank.org",
"transcoderHost": "https://transcoder.motionbank.org",
"auth0AppMetadataPrefix": "https://app.motionbank.org/app_metadata/"
......
......@@ -26,7 +26,7 @@ module.exports.setupArchives = (api, mapService, annotationService) => {
data.map = result.data
request = {
query: {
query: JSON.stringify({'target.id': data.map.uuid})
query: JSON.stringify({'target.id': `${config.api.uriBase}/maps/${data.map.uuid}`})
},
user: req.user
}
......
Markdown is supported
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