Add support for base via WEB_BASE environment