Support baseUrl option
Merge pull request #1 from thomasboyt/support-baseUrl

Support baseUrl option