public_state() feeds both the server-rendered home (works without JavaScript) and GET /stato/, so they cannot disagree: none, open, closing, drawing, paying and maintenance, the round's own quota, the winner's 70% of the *confirmed* pool, bets in flight apart, and the closing time on the server's clock. home.js counts down against the server clock and polls every 5 s while visible. Checked in headless Chromium on mobile and desktop widths. Also records the profile reports (WEB-55, roadmap A9) and the name-lock trade-off (LIM-24). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
12 lines
287 B
Python
12 lines
287 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "web"
|
|
urlpatterns = [
|
|
path("", views.home, name="home"),
|
|
path("stato/", views.state, name="state"),
|
|
path("app/", views.app_home, name="app-home"),
|
|
path("health/live", views.health_live, name="health-live"),
|
|
]
|