We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd60cc commit 7b6d354Copy full SHA for 7b6d354
server/src/src.ino
@@ -130,7 +130,7 @@ void sendResponse(String request, EthernetClient client) {
130
131
// Send file to client
132
if (request == "") {
133
- #ifdef WEBSITE_ON_SD_CARD
+#ifdef WEBSITE_ON_SD_CARD
134
request = "index.htm";
135
client.println("Content-Type: text/html\n\r\n\r");
136
File webFile = SD.open(request);
@@ -140,10 +140,10 @@ void sendResponse(String request, EthernetClient client) {
140
}
141
webFile.close();
142
143
- #endif
144
- #ifdef WEBSITE_ON_EXTERNAL_WEBSERVER
+#endif
+#ifdef WEBSITE_ON_EXTERNAL_WEBSERVER
145
client.println("HTTP/1.1 404 Not Found\n\r");
146
147
148
// Button actions and status request
149
else {
0 commit comments