Dash nits

This commit is contained in:
cpq committed 2026-05-05 23:45:40 +01:00
1 parent 353bde811d
commit 9650e61fbe
3 files changed
+1 -3

No files matched your search

-1
View File
@@ -475,7 +475,6 @@ void mg_dash_ev_handler(struct mg_connection *c, int ev, void *ev_data) {
struct mg_http_message *hm = (struct mg_http_message *) ev_data;
struct mg_dash_user *u = mg_dash_authenticate(hm, dash);
MG_DEBUG(("%lu HDRS %.*s", c->id, hm->uri.len, hm->uri.buf));
if (mg_match(hm->uri, mg_str("/api/hi"), NULL) ||
mg_match(hm->uri, mg_str("/api/logout"), NULL)) {
// Do nothing, handle them MG_EV_HTTP_MSG. We bypass auth for those