mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-13 15:07:01 +03:00
damn typo
This commit is contained in:
@@ -440,7 +440,7 @@ function performConnect(conntype){
|
|||||||
stopRefreshAPInterval();
|
stopRefreshAPInterval();
|
||||||
|
|
||||||
var pwd;
|
var pwd;
|
||||||
var dhcp-name $("#dhcp-name").val();;
|
var dhcpname = $("#dhcp-name").val();;
|
||||||
if (conntype == 'manual') {
|
if (conntype == 'manual') {
|
||||||
//Grab the manual SSID and PWD
|
//Grab the manual SSID and PWD
|
||||||
selectedSSID=$('#manual_ssid').val();
|
selectedSSID=$('#manual_ssid').val();
|
||||||
@@ -464,7 +464,7 @@ function performConnect(conntype){
|
|||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
cache: false,
|
cache: false,
|
||||||
headers: { 'X-Custom-ssid': selectedSSID, 'X-Custom-pwd': pwd, 'X-Custom-host_name': dhcp-name },
|
headers: { 'X-Custom-ssid': selectedSSID, 'X-Custom-pwd': pwd, 'X-Custom-host_name': dhcpname },
|
||||||
data: { 'timestamp': Date.now()},
|
data: { 'timestamp': Date.now()},
|
||||||
error: function (xhr, ajaxOptions, thrownError) {
|
error: function (xhr, ajaxOptions, thrownError) {
|
||||||
console.log(xhr.status);
|
console.log(xhr.status);
|
||||||
|
|||||||
Reference in New Issue
Block a user