You've already forked ConsulManager
mirror of
https://github.com/starsliao/TenSunS.git
synced 2025-12-18 12:03:57 +08:00
增加consul web管理
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user