remove servers query
This commit is contained in:
parent
62a99fcf1a
commit
f8ce7c0cf9
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ def after_request(response):
|
||||||
@main.route("/", methods=['GET'])
|
@main.route("/", methods=['GET'])
|
||||||
def index():
|
def index():
|
||||||
form = LoginForm()
|
form = LoginForm()
|
||||||
allservers = Server.query.filter_by(enabled=True)
|
return render_template('main/index.html', form=form)
|
||||||
return render_template('main/index.html', servers=allservers, form=form)
|
|
||||||
|
|
||||||
@main.route("/aboutus", methods=['GET'])
|
@main.route("/aboutus", methods=['GET'])
|
||||||
def about():
|
def about():
|
||||||
|
|
Loading…
Reference in a new issue