commit 50fd214b77643c6291a45132706cab4bfba6db7e
parent b2c30971d4c39079644f859f29882d0b196a9137
Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 29 Aug 2017 14:54:50 +0200
Add some index.bin file to send raw gopher maps mirrored from some other
site.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -46,7 +46,7 @@ char *logfile = nil;
char *argv0;
char *stdbase = "/var/gopher";
char *stdport = "70";
-char *indexf[] = {"/index.gph", "/index.cgi", "/index.dcgi"};
+char *indexf[] = {"/index.gph", "/index.cgi", "/index.dcgi", "index.bin"};
char *err = "3Sorry, but the requested token '%s' could not be found.\tErr"
"\tlocalhost\t70\r\n.\r\n\r\n";
char *htredir = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"