mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-19 12:17:45 -04:00
update docs, remove bin, fix ux on no data
This commit is contained in:
parent
615665a943
commit
3bef35dd32
11 changed files with 82 additions and 44 deletions
|
@ -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
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue