add connect middleware proxy for deep link support