MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / index

Function index

webapp_modern.py:4758–4768  ·  view source on GitHub ↗

Serve the main dashboard page or captive portal for AP clients

()

Source from the content-addressed store, hash-verified

4756 installed, active = _sensing_unit_state()
4757 arch = os.uname().machine
4758 has_prebuilt = (arch == 'aarch64' and
4759 os.path.exists(os.path.join(shared_data.currentdir, 'bin', 'sensing-server')))
4760 with _sensing_install_lock:
4761 installing = _sensing_installing
4762 return jsonify({
4763 'success': True, 'installed': installed, 'active': active,
4764 'installing': installing, 'arch': arch, 'has_prebuilt': has_prebuilt,
4765 })
4766
4767
4768@app.route('/api/sensing/install', methods=['POST'])
4769def sensing_install():
4770 """Install (or rebuild) the bundled sensing backend in the background."""
4771 global _sensing_installing

Callers

nothing calls this directly

Calls 1

is_ap_client_requestFunction · 0.85

Tested by

no test coverage detected