Fix base path to work with asset hosts