增加consul web管理

This commit is contained in:
StarsL.cn
2022-02-10 23:08:12 +08:00
parent c523e7e89c
commit 1590ac30c0
14 changed files with 1051 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
#!/usr/bin/env python3
from flask import Flask
from views import login, blackbox
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)