Skip to content

Commit da61310

Browse files
committed
Configure dashboard to use public GCE IP by default
Dashboard now defaults to http://34.42.32.205:8080 instead of localhost. No SSH tunnel required. Can still override with --api flag for local dev.
1 parent a6c55b3 commit da61310

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

floml/scripts/zone_dashboard.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,8 +557,8 @@ def _redraw():
557557

558558
def _parse_args() -> str:
559559
p = argparse.ArgumentParser(description="Riverviews flood monitoring dashboard")
560-
p.add_argument("--api", default="http://localhost:8080",
561-
help="flomon_service base URL (default: http://localhost:8080)")
560+
p.add_argument("--api", default="http://34.42.32.205:8080",
561+
help="flomon_service base URL (default: http://34.42.32.205:8080)")
562562
return p.parse_args().api
563563

564564

0 commit comments

Comments
 (0)