feat: real URL routes for tabs (/detection, /court, /trajectory)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ruslan Bakiev
2026-03-07 12:45:03 +07:00
parent 22c24c0296
commit 08e280d617
2 changed files with 16 additions and 10 deletions

View File

@@ -29,8 +29,9 @@ state = {
@app.route('/')
def index():
return render_template('index.html')
@app.route('/<tab>')
def index(tab='detection'):
return render_template('index.html', active_tab=tab)
@app.route('/frame/<int:sensor_id>')