Fix grey URL mapping to work within apps