Prefixing the redirect function for the mobil app