{"action":"created","issue":{"url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/26","repository_url":"https://api.github.com/repos/LinkedDataFragments/Server.js","labels_url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/26/comments","events_url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/26/events","html_url":"https://github.com/LinkedDataFragments/Server.js/issues/26","id":149270758,"number":26,"title":"MementoController Chooses TimeGate URL if no original base URL is set","user":{"login":"hariharshankar","id":1693859,"avatar_url":"https://avatars.githubusercontent.com/u/1693859?v=3","gravatar_id":"","url":"https://api.github.com/users/hariharshankar","html_url":"https://github.com/hariharshankar","followers_url":"https://api.github.com/users/hariharshankar/followers","following_url":"https://api.github.com/users/hariharshankar/following{/other_user}","gists_url":"https://api.github.com/users/hariharshankar/gists{/gist_id}","starred_url":"https://api.github.com/users/hariharshankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hariharshankar/subscriptions","organizations_url":"https://api.github.com/users/hariharshankar/orgs","repos_url":"https://api.github.com/users/hariharshankar/repos","events_url":"https://api.github.com/users/hariharshankar/events{/privacy}","received_events_url":"https://api.github.com/users/hariharshankar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-18T21:04:32Z","updated_at":"2016-04-19T07:34:31Z","closed_at":null,"body":"The config file allows for an original base URL to be set using the parameter `originalBaseURL`. However, when this parameter is not set, the [MementoControllerExtension, Line 33-34](https://github.com/LinkedDataFragments/Server.js/blob/master/lib/controllers/MementoControllerExtension.js#L33) chooses the TimeGate base URL. It would be better to either make this parameter mandatory in the config when the server is in Memento mode, or, use the `baseURL` parameter in the config to construct the original URL.  "},"comment":{"url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/comments/211773481","html_url":"https://github.com/LinkedDataFragments/Server.js/issues/26#issuecomment-211773481","issue_url":"https://api.github.com/repos/LinkedDataFragments/Server.js/issues/26","id":211773481,"user":{"login":"mielvds","id":1032980,"avatar_url":"https://avatars.githubusercontent.com/u/1032980?v=3","gravatar_id":"","url":"https://api.github.com/users/mielvds","html_url":"https://github.com/mielvds","followers_url":"https://api.github.com/users/mielvds/followers","following_url":"https://api.github.com/users/mielvds/following{/other_user}","gists_url":"https://api.github.com/users/mielvds/gists{/gist_id}","starred_url":"https://api.github.com/users/mielvds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mielvds/subscriptions","organizations_url":"https://api.github.com/users/mielvds/orgs","repos_url":"https://api.github.com/users/mielvds/repos","events_url":"https://api.github.com/users/mielvds/events{/privacy}","received_events_url":"https://api.github.com/users/mielvds/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T07:34:31Z","updated_at":"2016-04-19T07:34:31Z","body":"It definitely shouldn't be the timegate URL.\r\nAFAIK, the issue only occurs when the original resource is not hosted by the Server hosting the mementos. I tend to agree with Harish, it doesn't make sense not having a `originalBaseURL` specified, and omitting violates the standard. I do understand the trouble of mandatory parameters, maybe we should make the dataset not load at all?"}}