Get current GPS status and position.
()
| 8288 | return send_from_directory('web', 'wifi_config.html') |
| 8289 | |
| 8290 | |
| 8291 | # Captive portal detection routes for mobile devices |
| 8292 | @app.route('/generate_204') |
| 8293 | @app.route('/gen_204') |
| 8294 | @app.route('/connecttest.txt') |
| 8295 | @app.route('/success.txt') |
| 8296 | @app.route('/ncsi.txt') |
| 8297 | def captive_portal_detection(): |
| 8298 | """Handle captive portal detection requests from mobile devices""" |
| 8299 | if is_ap_client_request(): |
| 8300 | # Redirect to captive portal for AP clients |
| 8301 | return '''<html><head><meta http-equiv="refresh" content="0; url=/portal"></head><body><a href="/portal">Click here for WiFi setup</a></body></html>''', 302 |
nothing calls this directly
no test coverage detected