mirror of
https://github.com/jamesroberts/fastwsgi.git
synced 2026-05-02 09:29:34 -05: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)
|