fixed a bug with scanning and adding miner which didnt append to the navbar

This commit is contained in:
UpstreamData
2022-03-04 15:48:17 -07:00
parent 309b4d44fc
commit 8ecdb6f5e8
4 changed files with 34 additions and 27 deletions

View File

@@ -20,8 +20,8 @@ templates = Jinja2Templates(directory="templates")
@app.get("/")
def index():
return dashboard()
def index(request: Request):
return RedirectResponse(request.url_for('dashboard'))
@app.get("/dashboard")