Set API var to be relative to the current URL
Merge pull request #81 from Adaptavist/master

Set API var to be relative to the current URL