sending debug over ws events (wip)
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
|
||||
#include <FS.h>
|
||||
|
||||
#define DEBUG_OUT Serial
|
||||
|
||||
String getContentType(String filename){
|
||||
if(filename.indexOf(".htm") > 0) return "text/html";
|
||||
@ -106,6 +105,8 @@ void server_setup(){
|
||||
|
||||
server.onNotFound(notFound);
|
||||
|
||||
server.addHandler(&events);
|
||||
|
||||
server.begin();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user