feat: real URL routes for tabs (/detection, /court, /trajectory)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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>')
|
||||
|
||||
Reference in New Issue
Block a user