pywallter/wsgi.py

8 lines
193 B
Python
Raw Normal View History

2022-08-06 18:22:24 +02:00
from gevent.pywsgi import WSGIServer
2022-08-06 23:49:16 +02:00
from flask import Flask
2022-08-06 18:22:24 +02:00
from pywallter import create_app
app = create_app()
http_server = WSGIServer(("127.0.0.1", 8000), app)
http_server.serve_forever()