mirror of
https://github.com/SuperBFG7/ympd
synced 2025-01-27 09:24:54 +00:00
Cleanups
This commit is contained in:
parent
86c8e5d16f
commit
d2438d99e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user