Check originalUrl so that mounted apps work as expected