Extract ensureRequestComesFromRightDomain express middleware
Static files comes from client directory in every environment