connect middleware for assets combo