Skip to content

Commit 795c41b

Browse files
committed
update
1 parent 4432051 commit 795c41b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const int httpPort = 80;
3636
String deviceName = "斐讯DC1插排";
3737
String version = "1.1";
3838
ESP8266WebServer server(httpPort);
39-
const char* serverIndex = "<form method='POST' action='/update' enctype='multipart/form-data'><input type='file' name='update'><input type='submit' value='Update'></form>";
39+
const char* serverIndex = "<h1>更新固件:</h1><form method='POST' action='/update' enctype='multipart/form-data'><input type='file' name='update'><input type='submit' value='开始上传升级'></form>";
4040
// 开关的当前状态
4141
bool logLedStatus = true;
4242
bool wifiLedStatus = true;

0 commit comments

Comments
 (0)