update docs, remove bin, fix ux on no data

This commit is contained in:
lza_menace 2023-04-03 14:29:02 -07:00
parent 615665a943
commit 3bef35dd32
11 changed files with 82 additions and 44 deletions

View file

@ -164,9 +164,14 @@ def wow_nodes_json():
@app.route("/map")
def map():
try:
peers = rw_cache('map_peers')
except:
flash('Couldn\'t load the map. Try again later.')
return redirect('/')
return render_template(
"map.html",
peers=rw_cache('map_peers'),
peers=peers,
source_node=config.NODE_HOST
)