mercredi 20 mai 2020

Trying to run flask with the following code

from flask import Flask

app = Flask(_name_)

@app.route('/')
def index():
    return '<h1>Hello, world</h1>'

I get this error * Serving Flask app "application.py" * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. * Debug mode: off




Aucun commentaire:

Enregistrer un commentaire