Revert "Remove # from basePath "

This reverts commit 71faeb821f3c1ef6ade363c0ba8e4fcb465a936b.
Add customBasePath option