You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ConsulManager/flask-consul/manager.py

11 lines
302 B

#!/usr/bin/env python3
from flask import Flask
from views import login, blackbox, consul
app = Flask(__name__)
app.register_blueprint(login.blueprint)
app.register_blueprint(blackbox.blueprint)
app.register_blueprint(consul.blueprint)
if __name__ == "__main__":
app.run(host="0.0.0.0", port=2026)