diff --git a/app.py b/app.py index 84b3629..956bc8d 100644 --- a/app.py +++ b/app.py @@ -13,7 +13,7 @@ app.secret_key = hashlib.md5(os.urandom(32)).hexdigest() def parsetime(value): return time.strftime('%Y-%m-%d %H:%M', time.localtime(value)) -@app.route('/') +@app.route('/gb') def index(): statement = 'SELECT "id", "name", "website", "comment", "date", "ip" FROM "entries" ORDER BY id DESC' cs.execute(statement)