append the base path from config.publicUrl to all routes
Merge pull request #742 from dannycoates/basePath

append the base path from config.publicUrl to all routes