This commit is contained in:
jcorporation 2018-07-22 15:03:22 +01:00
parent 86c8e5d16f
commit d2438d99e6
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ static void ev_handler(struct mg_connection *nc, int ev, void *ev_data) {
static void ev_handler_http(struct mg_connection *nc_http, int ev, void *ev_data) {
switch(ev) {
case MG_EV_HTTP_REQUEST: {
printf("Redirecting to %s\n", s_redirect);
mg_http_send_redirect(nc_http, 301, mg_mk_str(s_redirect), mg_mk_str(NULL));
break;