Set up a proper favicon.ico in both webcit-classic and webcit-ng with a version of...
[citadel.git] / webcit-ng / request.c
index a27a65ac26dc2018cd9fd7fc4bcac66e739841e6..349bae91563e9a1e87d6018213a0b64fe3793496 100644 (file)
@@ -97,6 +97,11 @@ void perform_request(struct http_transaction *h) {
                return;
        }
 
+       if (!strcasecmp(h->url, "/favicon.ico")) {
+               output_static(h);
+               return;
+       }
+
        // Everything below this line is strictly REST URL patterns.
 
        if (strncasecmp(h->url, HKEY("/ctdl/"))) {              // Reject non-REST