Fix flask route name

It was renamed to index when the app was moved.