yeastar-voipms-webhook-proxy/app.py

19 lines
419 B
Python
Raw Normal View History

2025-07-13 22:10:11 -04:00
from flask import Flask
2025-07-15 07:32:47 -04:00
from routes import yeastar, voipms, threecx
2025-07-13 22:10:11 -04:00
import logging
import sys
# Disable Flask/Werkzeug noisy request log
log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)
app = Flask(__name__)
# Register blueprints
app.register_blueprint(yeastar.bp)
app.register_blueprint(voipms.bp)
2025-07-15 07:32:47 -04:00
app.register_blueprint(threecx.bp)
2025-07-13 22:10:11 -04:00
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000)