Update xp.py
This commit is contained in:
@@ -59,6 +59,7 @@ run();
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>"""
|
</html>"""
|
||||||
|
app = Flask(__name__)
|
||||||
|
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
def index():
|
def index():
|
||||||
@@ -77,11 +78,10 @@ print(f"+ {args.command} on {args.maillink}")
|
|||||||
|
|
||||||
html = pbuild(args.maillink.rstrip("/"), gadget)
|
html = pbuild(args.maillink.rstrip("/"), gadget)
|
||||||
|
|
||||||
app = Flask(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
print("+ serving page")
|
print("+ serving page")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
app.run(host=args.host, port=args.port)
|
app.run(host=args.host, port=args.port)
|
||||||
|
|||||||
Reference in New Issue
Block a user