|
|
|
@ -31,6 +31,13 @@ class Clients(db.Model):
|
|
|
|
|
_tablename__ = 'clients'
|
|
|
|
|
id = db.Column(db.Integer, primary_key=True)
|
|
|
|
|
userip = db.Column(db.String(12))
|
|
|
|
|
@app.route("/alive")
|
|
|
|
|
def alive():
|
|
|
|
|
return "alive"
|
|
|
|
|
|
|
|
|
|
@app.route("/ready")
|
|
|
|
|
def alive():
|
|
|
|
|
return "ready"
|
|
|
|
|
|
|
|
|
|
@app.route("/")
|
|
|
|
|
def hello():
|
|
|
|
|