Skip to content

Commit dbcf674

Browse files
committed
fix demo OTA php script
1 parent 3b2ea52 commit dbcf674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: doc/ota_updates/ota_updates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ $db = array(
507507
);
508508

509509
if(isset($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']])) {
510-
if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) ) {
510+
if($db[$_SERVER['HTTP_X_ESP8266_STA_MAC']] != $_SERVER['HTTP_X_ESP8266_VERSION']) {
511511
sendFile("./bin/".$db[$_SERVER['HTTP_X_ESP8266_STA_MAC']]."bin");
512512
} else {
513513
header($_SERVER["SERVER_PROTOCOL"].' 304 Not Modified', true, 304);

0 commit comments

Comments
 (0)