test
This commit is contained in:
parent
8b444a8bf5
commit
beed694eca
2
app.py
2
app.py
@ -24,7 +24,7 @@ def main():
|
||||
if db.get_user_bytoken(auth_token) is None:
|
||||
return redirect("/login")
|
||||
machines_all = db.get_machines()
|
||||
return render_template('index.html', ssh_port=config.webssh_port, table=machines_all.to_html_table())
|
||||
return render_template('index.html', ssh_port=config.webssh_port, table=machines_all)
|
||||
|
||||
|
||||
@app.route('/login')
|
||||
|
Loading…
Reference in New Issue
Block a user