wifi connection working
This commit is contained in:
@@ -1221,6 +1221,13 @@ joinNetworkBtn.addEventListener("click", () => {
|
||||
setTimeout(() => {
|
||||
connectedText.style.display = "none";
|
||||
}, 2000);
|
||||
|
||||
data = {country:countryCodeInput.value, ssid:wifiSsidInput.value, pwd:wifiPassInput.value}
|
||||
|
||||
fetch("/wifi", {
|
||||
method: "POST",
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
});
|
||||
|
||||
// change display format
|
||||
|
Reference in New Issue
Block a user