]> git.plutz.net Git - flarejs/commitdiff
prevent 404 for favicon
authorPaul Hänsch <paul@plutz.net>
Sat, 8 Feb 2020 01:24:02 +0000 (02:24 +0100)
committerPaul Hänsch <paul@plutz.net>
Sat, 8 Feb 2020 01:24:02 +0000 (02:24 +0100)
index.cgi

index 61faba126fec1dbd57378172c2b108d961a6632d..0d13998378cd55543068a7a797f02701ca31a9e8 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -18,7 +18,7 @@ if [ "$_PATH" = / ]; then
        </body></html>
        EOF
 elif [ "$_PATH" = /favicon.ico ]; then
-  printf 'Status: 404 Not Found\r\nContent-Length: 0\r\n\r\n'
+  printf 'Status: 200 OK\r\nContent-Length: 0\r\n\r\n'
 else
   for base in . \
               ./mods/empyrean_campaign \