pywallter/wsgi.py
2022-08-06 23:49:16 +02:00

8 lines
193 B
Python

from gevent.pywsgi import WSGIServer
from flask import Flask
from pywallter import create_app
app = create_app()
http_server = WSGIServer(("127.0.0.1", 8000), app)
http_server.serve_forever()