set paths.subdir from the blogApp.mountpath when configured as Express middleware