Skip to content

Commit e0a81e6

Browse files
authored
fix(server): Send index.htm (#6)
* Send index.htm * Update src.ino
1 parent 31c8e83 commit e0a81e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/src.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ void sendResponse(String request, EthernetClient client) {
113113

114114
// Send file to client
115115
if (request == "") {
116+
request = "index.htm";
116117
client.println("Content-Type: text/html\n\r\n\r");
117118
File webFile = SD.open(request);
118119
if (webFile) {

0 commit comments

Comments
 (0)