From: Jiří Matěják Date: Fri, 27 Apr 2018 08:47:34 +0000 (+0200) Subject: html dir changed X-Git-Url: https://rtime.felk.cvut.cz/gitweb/coffee/mt-apps.git/commitdiff_plain/baf4d751feeb1b5bfecff45c3b6e99693c673cbe html dir changed --- diff --git a/mt_server.h b/mt_server.h index dc44290..98fd5d1 100644 --- a/mt_server.h +++ b/mt_server.h @@ -9,12 +9,12 @@ #define MT_PROTOCOL_RX_BUFFER_SIZE 128 #define INPUT_LINE_LENGTH 512 -#define HTTP_PORT 80 // listen here -#define HTTP_MOUNTPOINT "/" // mountpoint URL -#define HTTP_ORIGIN "/usr/share/mt-server" // where the html files are -#define HTTP_DEFAULT "index.html" // default filename +#define HTTP_PORT 80 // listen here +#define HTTP_MOUNTPOINT "/" // mountpoint URL +#define HTTP_ORIGIN "/usr/share/mtserver" // where the html files are +#define HTTP_DEFAULT "index.html" // default filename -#define JSON_EMPTY "{\"type\":\"empty\"}" // default message +#define JSON_EMPTY "{\"type\":\"empty\"}" // default message typedef struct ev_io_ws { ev_io w; // input watcher