KaruMediaServer/web/wsgi.py

9 lines
249 B
Python
Raw Permalink Normal View History

2016-11-14 11:23:00 +02:00
from web_interface import app as application
if __name__ == "__main__":
from wsgiref.simple_server import make_server
httpd = make_server('0.0.0.0', 8080, application)
print("Serving on http://0.0.0.0:8080/")
httpd.serve_forever()