mirror of
https://github.com/smittix/intercept.git
synced 2026-07-08 17:48:13 -07:00
Unify satellite navigation to dashboard
This commit is contained in:
@@ -478,12 +478,15 @@ def login():
|
||||
|
||||
return render_template('login.html', version=VERSION)
|
||||
|
||||
@app.route('/')
|
||||
def index() -> str:
|
||||
tools = {
|
||||
'rtl_fm': check_tool('rtl_fm'),
|
||||
'multimon': check_tool('multimon-ng'),
|
||||
'rtl_433': check_tool('rtl_433'),
|
||||
@app.route('/')
|
||||
def index() -> str:
|
||||
if request.args.get('mode') == 'satellite':
|
||||
return redirect(url_for('satellite.dashboard'))
|
||||
|
||||
tools = {
|
||||
'rtl_fm': check_tool('rtl_fm'),
|
||||
'multimon': check_tool('multimon-ng'),
|
||||
'rtl_433': check_tool('rtl_433'),
|
||||
'rtlamr': check_tool('rtlamr')
|
||||
}
|
||||
devices = [d.to_dict() for d in SDRFactory.detect_devices()]
|
||||
|
||||
Reference in New Issue
Block a user