mirror of
https://github.com/simon987/sist2.git
synced 2025-12-14 15:59:03 +00:00
Fix build, update dockerfile
This commit is contained in:
@@ -120,7 +120,7 @@ int client_requested_dark_theme(struct mg_http_message *hm) {
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
struct mg_str sist_cookie = http_get_header_var(*cookie_header, mg_str_n("sist", 4));
|
||||
struct mg_str sist_cookie = mg_http_get_header_var(*cookie_header, mg_str_n("sist", 4));
|
||||
|
||||
return mg_strcmp(sist_cookie, mg_str_n("dark", 4)) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user