diff options
Diffstat (limited to 'src/webserver.c')
-rw-r--r-- | src/webserver.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/webserver.c b/src/webserver.c index 81ec523..947f90f 100644 --- a/src/webserver.c +++ b/src/webserver.c @@ -12,6 +12,9 @@ #include <microhttpd.h> +/* embedded web pages and JS code */ +#include "index.h" + static struct MHD_Daemon *d; #if MHD_VERSION < 0x00090500 @@ -100,7 +103,7 @@ static int handle_request( void *cls, struct MHD_Connection *connection, } } else { - snprintf( biruda_msg, sizeof( biruda_msg ), "Welcome to biruda! Please state your wish..\n" ); + snprintf( biruda_msg, index_html_len, (char *)index_html ); } response = MHD_create_response_from_buffer( strlen( biruda_msg ), |