Fix set of base URL when using publicURL
Merge pull request #23 from gierschv/fix-basePublicUrl

Fix set of base URL when using publicURL