15 lines
275 B
Python
15 lines
275 B
Python
"""Production entry point using Waitress and config.yaml."""
|
|
|
|
from waitress import serve
|
|
|
|
from wsgi import app
|
|
|
|
|
|
if __name__ == "__main__":
|
|
serve(
|
|
app,
|
|
host=app.config["HOST"],
|
|
port=app.config["PORT"],
|
|
threads=app.config["THREADS"],
|
|
)
|