mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
add secure mode note
This commit is contained in:
@@ -206,6 +206,12 @@ static void ICACHE_FLASH_ATTR web_rx_cb(void *arg, char *data, uint16_t len) {
|
||||
} else {
|
||||
ets_strcat(resp, "\nesp flash file: user1.bin");
|
||||
}
|
||||
|
||||
if (wifi_secure_mode) {
|
||||
ets_strcat(resp, "\nin secure mode");
|
||||
} else {
|
||||
ets_strcat(resp, "\nin INSECURE mode...<a href=\"/secure\">secure it</a>");
|
||||
}
|
||||
|
||||
ets_strcat(resp,"\nSet USB Mode:"
|
||||
"<button onclick=\"var xhr = new XMLHttpRequest(); xhr.open('GET', 'set_property?usb_mode=0'); xhr.send()\" type='button'>Client</button>"
|
||||
|
||||
Reference in New Issue
Block a user