Add support for configuring the base path