Remove redirect middleware