Fixes URL localization issue when the base path is not /
Merge pull request #76 from drewjw81/baseurl-fix

Fixes URL localization issue when the base path is not /