app.py 298 B

12345678910111213141516
  1. from flask import (
  2. Flask, redirect
  3. )
  4. # ========================================================
  5. # Flask App
  6. # ========================================================
  7. app = Flask(__name__)
  8. app.secret_key = b'hypermedia rocks'
  9. @app.route("/")
  10. def index():
  11. return redirect("/contacts")