mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2026-01-08 07:09:57 -06:00
14 lines
217 B
Python
14 lines
217 B
Python
import fastwsgi
|
|
from flask import Flask
|
|
|
|
app = Flask(__name__)
|
|
|
|
|
|
@app.get("/")
|
|
def hello_world():
|
|
return "Hello, World!", 200
|
|
|
|
|
|
if __name__ == "__main__":
|
|
fastwsgi.run(wsgi_app=app, host="0.0.0.0", port=5000)
|