This commit is contained in:
Mateusz779 2023-04-19 09:38:21 +02:00
parent 8b444a8bf5
commit beed694eca

2
app.py
View File

@ -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')