Update main.py

Added redirects.