Fix typo of "middleware" in index.md

Originally submitted pull request to wrong repo; sorry!