update baseurl handling.
Merge pull request #76 from wakameci/hold-baseurl

update baseurl handling.