     Serial.print("IP address: ");
     Serial.println(WiFi.localIP());
 
-    if (MDNS.begin("esp8266")) {
-        Serial.println("MDNS responder started");
-    }
+//    if (MDNS.begin("esp8266")) {
+//        Serial.println("MDNS responder started");
+//    }
 
     server.on("/", handleRoot);
+    server.on("/imat", handleImat);
 
     server.on("/inline", [](){
         server.send(200, "text/plain", "this works as well");

const int LED03 = D7;

void handleRoot() {
    digitalWrite(led, 1);
    server.send(200, "text/plain", "hello from esp8266!");
    digitalWrite(led, 0);
}

#include <ESP8266WiFi.h>            
#include <ESP8266WebServer.h>
#include "config.h"

ESP8266WebServer server(80);
